MadelineProto/docs/TD_docs/methods/deleteMessages.md
Daniil Gentili 8600a2fcba docufix
2017-09-29 15:50:59 +02:00

683 B

title description
deleteMessages Deletes messages

Method: deleteMessages

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Deletes messages

Params:

Name Type Required Description
chat_id int53 Yes Chat identifier
message_ids Array of int53 Yes Identifiers of messages to delete
revoke Bool Yes 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

Return type: Ok