api.deleteMessages()
Deletes messages
Parameters
DeleteMessagesParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatId | number | Chat identifier |
messageIds | number[] | Identifiers of the messages to be deleted |
revoke | boolean | Pass true to delete messages for all chat members. Always true for supergroups, channels and secret chats |