web.telegram.org
Delete a Telegram message
Input
peerId requiredThe conversation, as web.telegram.org/get_inbox returns it.
messageId requiredThe message to delete, as get_conversation, search_messages or send_message return it. It must be among the most recent messages of the conversation.
scope optional"me" removes it for this account only. "everyone" removes it for all participants, which Telegram offers only on this account's own recent messages; the run fails rather than fall back to "me".
Default: "me"Output
scope requiredpeerId requireddeleted requiredTrue once Telegram reports the message as deleted.
messageId requiredaccount_used requiredThe name of the account that deleted it.
accountId optionalchatTitle optionalThe conversation's name: show it to the user.
