View Source ExTDLib.Method.DeleteChatMessagesByDate (ExTDLib v0.0.4)
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 object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier. |
| min_date | number | The minimum date of the messages to delete. |
| max_date | number | The maximum date of the messages to delete. |
| revoke | bool | Pass true to delete chat messages for all users; private chats only. |
More details on telegram's documentation.