- Enclosing class:
- TdApi
Reports messages in a supergroup as
spam; requires administrator rights
in the supergroup.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intlong[]Identifiers of messages to report.longSupergroup identifier. -
Constructor Summary
ConstructorsConstructorDescriptionReports messages in a supergroup as spam; requires administrator rights in the supergroup.ReportSupergroupSpam(long supergroupId, long[] messageIds) Reports messages in a supergroup as spam; requires administrator rights in the supergroup.ReportSupergroupSpam(DataInput input) Reports messages in a supergroup as spam; requires administrator rights in the supergroup. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
supergroupId
public long supergroupIdSupergroup identifier. -
messageIds
public long[] messageIdsIdentifiers 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. ReturnsOk -
ReportSupergroupSpam
public ReportSupergroupSpam(long supergroupId, long[] messageIds) Reports messages in a supergroup as spam; requires administrator rights in the supergroup. ReturnsOk- Parameters:
supergroupId- long Supergroup identifier.messageIds- long[] Identifiers of messages to report.
-
ReportSupergroupSpam
Reports messages in a supergroup as spam; requires administrator rights in the supergroup. ReturnsOk- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-