MadelineProtoDocs/docs/TD_docs/methods/deleteMessages.md

766 B

title description image
deleteMessages Deletes messages https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Method: deleteMessages

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Deletes messages

Parameters:

Name Type Description Required
chat_id int53 Chat identifier Yes
message_ids Array of int53 Identifiers of messages to delete Yes
revoke Bool Pass true to try to delete sent messages for all chat members (may fail if messages are too old). Is always true for Channels and SecretChats Yes

Return type: Ok