public static class TdApi.DeleteMessages extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long[] |
messageIds
Identifiers of the messages to be deleted.
|
boolean |
revoke
Pass true to delete messages for all chat members.
|
Constructor and Description |
---|
DeleteMessages()
Default constructor for a function, which deletes messages.
|
DeleteMessages(long chatId,
long[] messageIds,
boolean revoke)
Creates a function, which deletes messages.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long[] messageIds
public boolean revoke
public static final int CONSTRUCTOR
public DeleteMessages()
Returns Ok
public DeleteMessages(long chatId, long[] messageIds, boolean revoke)
Returns Ok
chatId
- Chat identifier.messageIds
- Identifiers of the messages to be deleted.revoke
- Pass true to delete messages for all chat members. Always true for supergroups, channels and secret chats.public int getConstructor()
getConstructor
in class TdApi.Function