public static class TdApi.UpdateDeleteMessages extends TdApi.Update
TdApi.Update.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
fromCache
True, if the messages are deleted only from the cache and can possibly be retrieved again in the future.
|
boolean |
isPermanent
True, if the messages are permanently deleted by a user (as opposed to just becoming inaccessible).
|
long[] |
messageIds
Identifiers of the deleted messages.
|
Constructor and Description |
---|
UpdateDeleteMessages()
Some messages were deleted.
|
UpdateDeleteMessages(long chatId,
long[] messageIds,
boolean isPermanent,
boolean fromCache)
Some messages were deleted.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long[] messageIds
public boolean isPermanent
public boolean fromCache
public static final int CONSTRUCTOR
public UpdateDeleteMessages()
public UpdateDeleteMessages(long chatId, long[] messageIds, boolean isPermanent, boolean fromCache)
chatId
- Chat identifier.messageIds
- Identifiers of the deleted messages.isPermanent
- True, if the messages are permanently deleted by a user (as opposed to just becoming inaccessible).fromCache
- True, if the messages are deleted only from the cache and can possibly be retrieved again in the future.public int getConstructor()
getConstructor
in class TdApi.Update