mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 19:46:56 +01:00
636 B
636 B
title | description |
---|---|
deleteChatHistory | Deletes all messages in the chat. Can't be used for channel chats |
Method: deleteChatHistory
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Deletes all messages in the chat. Can't be used for channel chats
Params:
Name | Type | Required | Description |
---|---|---|---|
chat_id | InputPeer | Yes | Chat identifier |
remove_from_chat_list | Bool | Yes | Pass true, if chat should be removed from the chat list |