TDLib v0.0.2 TDLib.Method.DeleteChatHistory View Source
Deletes all messages in the chat only for the user. Cannot be used in channels and public supergroups.
Returns object_ptr
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier. |
| remove_from_chat_list | bool | Pass true if the chat should be removed from the chats list. |
More details on telegram’s documentation.