- Enclosing class:
- TdApi
Deletes messages.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
long[]
Identifiers of the messages to be deleted.boolean
Pass true to delete messages for all chat members. -
Constructor Summary
ConstructorDescriptionDeletes 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
toString
Methods 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:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-