Package org.drinkless.tdlib
Class TdApi.DeleteGroupCallMessages
- Enclosing class:
- TdApi
Deletes messages in a group call; for live story calls only. Requires groupCallMessage.canBeDeleted right.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intGroup call identifier.int[]Identifiers of the messages to be deleted.booleanPass true to report the messages as spam. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which deletes messages in a group call; for live story calls only.DeleteGroupCallMessages(int groupCallId, int[] messageIds, boolean reportSpam) Creates a function, which deletes messages in a group call; for live story calls only. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
groupCallId
public int groupCallIdGroup call identifier. -
messageIds
public int[] messageIdsIdentifiers of the messages to be deleted. -
reportSpam
public boolean reportSpamPass true to report the messages as spam. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DeleteGroupCallMessages
public DeleteGroupCallMessages()Default constructor for a function, which deletes messages in a group call; for live story calls only. Requires groupCallMessage.canBeDeleted right.Returns
Ok -
DeleteGroupCallMessages
public DeleteGroupCallMessages(int groupCallId, int[] messageIds, boolean reportSpam) Creates a function, which deletes messages in a group call; for live story calls only. Requires groupCallMessage.canBeDeleted right.Returns
Ok- Parameters:
groupCallId- Group call identifier.messageIds- Identifiers of the messages to be deleted.reportSpam- Pass true to report the messages as spam.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-