- 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
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intintThe maximum date of the messages to delete.intThe minimum date of the messages to delete.booleanPass true to delete chat messages for all users; private chats only. -
Constructor Summary
ConstructorsConstructorDescriptionDeletes 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-