- Enclosing class:
- TdApi
Deletes messages.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intlong[]Identifiers of the messages to be deleted.booleanPass true to delete messages for all chat members. -
Constructor Summary
ConstructorsConstructorDescriptionDeletes messages.DeleteMessages(long chatId, long[] messageIds, boolean revoke) Deletes messages.DeleteMessages(DataInput input) Deletes messages. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
messageIds
public long[] messageIdsIdentifiers of the messages to be deleted. -
revoke
public boolean revokePass true to delete messages for all chat members. Always true for supergroups, channels and secret chats. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
DeleteMessages
public DeleteMessages()Deletes messages. ReturnsOk -
DeleteMessages
public DeleteMessages(long chatId, long[] messageIds, boolean revoke) Deletes messages. ReturnsOk- Parameters:
chatId- long Chat identifier.messageIds- long[] Identifiers of the messages to be deleted.revoke- boolean Pass true to delete messages for all chat members. Always true for supergroups, channels and secret chats.
-
DeleteMessages
Deletes messages. 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()
-