- Enclosing class:
- TdApi
Deletes all messages between the
specified dates in a chat. Supported
only for private chats and basic
groups. Messages sent in the last 30
seconds will not be deleted.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
int
The maximum date of the messages to delete.int
The minimum date of the messages to delete.boolean
Pass true to delete chat messages for all users; private chats only. -
Constructor Summary
ConstructorDescriptionDeletes all messages between the specified dates in a chat.DeleteChatMessagesByDate
(long chatId, int minDate, int maxDate, boolean revoke) Deletes all messages between the specified dates in a chat.Deletes all messages between the specified dates in a chat. -
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. -
minDate
public int minDateThe minimum date of the messages to delete. -
maxDate
public int maxDateThe maximum date of the messages to delete. -
revoke
public boolean revokePass true to delete chat messages for all users; private chats only. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
DeleteChatMessagesByDate
public DeleteChatMessagesByDate()Deletes all messages between the specified dates in a chat. Supported only for private chats and basic groups. Messages sent in the last 30 seconds will not be deleted. ReturnsOk
-
DeleteChatMessagesByDate
public DeleteChatMessagesByDate(long chatId, int minDate, int maxDate, boolean revoke) Deletes all messages between the specified dates in a chat. Supported only for private chats and basic groups. Messages sent in the last 30 seconds will not be deleted. ReturnsOk
- Parameters:
chatId
- long Chat identifier.minDate
- int The minimum date of the messages to delete.maxDate
- int The maximum date of the messages to delete.revoke
- boolean Pass true to delete chat messages for all users; private chats only.
-
DeleteChatMessagesByDate
Deletes all messages between the specified dates in a chat. Supported only for private chats and basic groups. Messages sent in the last 30 seconds will not be deleted. 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()
-