App Logo
web.telegram.org

Delete a Telegram message

Automatically delete a Telegram message on web.telegram.org. Delete one message from a Telegram conversation, by the conversation's peer id and the message id, and confirm with Telegram that this one message is gone. Deleting cannot be undone and, in a shared conversation, other people can see it: get the user's confirmation first, and show them the chatTitle this returns. Pass scope "everyone" to remove it for all participants, which Telegram offers only on this account's own recent messages. Refuses a message that does not exist.

Input

peerId required

The conversation, as web.telegram.org/get_inbox returns it.

messageId required

The 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 required
peerId required
deleted required

True once Telegram reports the message as deleted.

messageId required
account_used required

The name of the account that deleted it.

accountId optional
chatTitle optional

The conversation's name: show it to the user.

FAQ

Delete one message from a Telegram conversation, by the conversation's peer id and the message id, and confirm with Telegram that this one message is gone. Deleting cannot be undone and, in a shared conversation, other people can see it: get the user's confirmation first, and show them the chatTitle this returns. Pass scope "everyone" to remove it for all participants, which Telegram offers only on this account's own recent messages. Refuses a message that does not exist.
Ask an AI agent connected to Reduck to run reduck/web.telegram.org/delete_message, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/web.telegram.org/delete_message
You do not need one. "Delete a Telegram message" drives the real web.telegram.org pages in a browser, so it works whether or not web.telegram.org offers an API for this.
Required: peerId, messageId. Optional: scope.
It returns scope, peerId, deleted, accountId, chatTitle, messageId, account_used.
Yes. It acts as you on web.telegram.org: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the web.telegram.org cookies saved by the Reduck extension.
It makes changes on web.telegram.org, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/web.telegram.org/delete_message, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/web.telegram.org/delete_message
It is part of Reduck's official curated catalogue.

Start building not clicking