public static class TdApi.ReportSupergroupSpam extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long[] |
messageIds
Identifiers of messages to report.
|
long |
supergroupId
Supergroup identifier.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long supergroupId
public long[] messageIds
public static final int CONSTRUCTOR
public ReportSupergroupSpam()
Returns Ok
public ReportSupergroupSpam(long supergroupId, long[] messageIds)
Returns Ok
supergroupId
- Supergroup identifier.messageIds
- Identifiers of messages to report.public int getConstructor()
getConstructor
in class TdApi.Function