- Enclosing class:
- TdApi
Reports some messages from a message
sender in a supergroup as spam; requires
administrator rights in the supergroup.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
long[]
Identifiers of messages sent in the supergroup.long
Supergroup identifier. -
Constructor Summary
ConstructorDescriptionReports some messages from a message sender in a supergroup as spam; requires administrator rights in the supergroup.ReportSupergroupSpam
(long supergroupId, long[] messageIds) Reports some messages from a message sender in a supergroup as spam; requires administrator rights in the supergroup.ReportSupergroupSpam
(DataInput input) Reports some messages from a message sender in a supergroup as spam; requires administrator rights in the supergroup. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
supergroupId
public long supergroupIdSupergroup identifier. -
messageIds
public long[] messageIdsIdentifiers of messages sent in the supergroup. All messages must be sent by the same sender. This list must be non-empty. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ReportSupergroupSpam
public ReportSupergroupSpam()Reports some messages from a message sender in a supergroup as spam; requires administrator rights in the supergroup.Returns
Ok
-
ReportSupergroupSpam
public ReportSupergroupSpam(long supergroupId, long[] messageIds) Reports some messages from a message sender in a supergroup as spam; requires administrator rights in the supergroup.Returns
Ok
- Parameters:
supergroupId
- long Supergroup identifier.messageIds
- long[] Identifiers of messages sent in the supergroup. All messages must be sent by the same sender. This list must be non-empty.
-
ReportSupergroupSpam
Reports some messages from a message sender in a supergroup as spam; requires administrator rights in the supergroup.Returns
Ok
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-