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

714 B

title description
deleteMessages Deletes messages

Method: deleteMessages

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Deletes messages

Parameters:

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