Package org.drinkless.tdlib
Class TdApi.ReportSupergroupSpam
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.ReportSupergroupSpam
-
- Enclosing class:
- TdApi
public static class TdApi.ReportSupergroupSpam extends TdApi.Function
Reports messages in a supergroup as spam; requires administrator rights in the supergroup.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.long[]messageIdsIdentifiers of messages to report.longsupergroupIdSupergroup identifier.
-
Constructor Summary
Constructors Constructor Description ReportSupergroupSpam()Default constructor for a function, which reports messages in a supergroup as spam; requires administrator rights in the supergroup.ReportSupergroupSpam(long supergroupId, long[] messageIds)Creates a function, which reports messages in a supergroup as spam; requires administrator rights in the supergroup.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
supergroupId
public long supergroupId
Supergroup identifier.
-
messageIds
public long[] messageIds
Identifiers of messages to report.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReportSupergroupSpam
public ReportSupergroupSpam()
Default constructor for a function, which reports messages in a supergroup as spam; requires administrator rights in the supergroup.Returns
Ok
-
ReportSupergroupSpam
public ReportSupergroupSpam(long supergroupId, long[] messageIds)Creates a function, which reports messages in a supergroup as spam; requires administrator rights in the supergroup.Returns
Ok- Parameters:
supergroupId- Supergroup identifier.messageIds- Identifiers of messages to report.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-