haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.ReportSupergroupSpam

Synopsis

Documentation

data ReportSupergroupSpam Source #

Reports messages in a supergroup as spam; requires administrator rights in the supergroup. Returns Ok

Constructors

ReportSupergroupSpam 

Fields

  • supergroup_id :: Maybe Int

    Supergroup identifier

  • message_ids :: Maybe [Int]

    Identifiers of messages to report. Use messageProperties.can_report_supergroup_spam to check whether the message can be reported