delete_chat_messages_by_date


Description:

public async Ok delete_chat_messages_by_date (int64 chat_id, int32 min_date, int32 max_date, bool revoke) throws TDLibError

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

Parameters:

chat_id

Chat identifier

min_date

The minimum date of the messages to delete

max_date

The maximum date of the messages to delete

revoke

Pass true to delete chat messages for all users; private chats only