Module tdlight.api

Class TdApi.ReportSupergroupSpam

Enclosing class:
TdApi

public static final class TdApi.ReportSupergroupSpam extends TdApi.Function<TdApi.Ok>
Reports messages in a supergroup as spam; requires administrator rights in the supergroup. Returns Ok
  • Field Details

    • supergroupId

      public long supergroupId
      Supergroup identifier.
    • messageIds

      public long[] messageIds
      Identifiers of messages to report.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ReportSupergroupSpam

      public ReportSupergroupSpam()
      Reports messages in a supergroup as spam; requires administrator rights in the supergroup. Returns Ok
    • ReportSupergroupSpam

      public ReportSupergroupSpam(long supergroupId, long[] messageIds)
      Reports messages in a supergroup as spam; requires administrator rights in the supergroup. Returns Ok
      Parameters:
      supergroupId - long Supergroup identifier.
      messageIds - long[] Identifiers of messages to report.
    • ReportSupergroupSpam

      public ReportSupergroupSpam(DataInput input) throws IOException
      Reports messages in a supergroup as spam; requires administrator rights in the supergroup. Returns Ok
      Throws:
      IOException
  • Method Details