public static class TdApi.DeleteChatMessagesByDate 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.
|
int |
maxDate
The maximum date of the messages to delete.
|
int |
minDate
The minimum date of the messages to delete.
|
boolean |
revoke
Pass true to delete chat messages for all users; private chats only.
|
Constructor and Description |
---|
DeleteChatMessagesByDate()
Default constructor for a function, which deletes all messages between the specified dates in a chat.
|
DeleteChatMessagesByDate(long chatId,
int minDate,
int maxDate,
boolean revoke)
Creates a function, which deletes all messages between the specified dates in a chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public int minDate
public int maxDate
public boolean revoke
public static final int CONSTRUCTOR
public DeleteChatMessagesByDate()
Returns Ok
public DeleteChatMessagesByDate(long chatId, int minDate, int maxDate, boolean revoke)
Returns Ok
chatId
- Chat identifier.minDate
- The minimum date of the messages to delete.maxDate
- The maximum date of the messages to delete.revoke
- Pass true to delete chat messages for all users; private chats only.public int getConstructor()
getConstructor
in class TdApi.Function