1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 09:47:20 +01:00
MadelineProto/docs/TD_docs/methods/deleteChatHistory.md

650 B

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

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 Required Description
chat_id CLICK ME int53 Yes Chat identifier
remove_from_chat_list CLICK ME Bool Yes Pass true, if chat should be removed from the chat list

Return type: Ok