MadelineProtoDocs/docs/TD_docs/methods/deleteChatHistory.md

709 B

title description image
deleteChatHistory Deletes all messages in the chat. Can't be used for channel chats https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Method: deleteChatHistory

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Deletes all messages in the chat. Can't be used for channel chats

Parameters:

Name Type Description Required
chat_id int53 Chat identifier Yes
remove_from_chat_list Bool Pass true, if chat should be removed from the chat list Yes

Return type: Ok