Actions36
- Message Actions
- Chat Actions
- User Actions
- Media Actions
- Channel Actions
Message → Delete Messages
AI-generatedSummary
Delete one or more messages by their IDs from a specific Telegram chat.
Inputs
- Chat ID (required) — The identifier, username (@username), or phone number of the chat where messages will be deleted.
- Message IDs (comma-separated) (required) — A comma-separated string listing the IDs of the messages to delete from the chat.
Output shape
An array with one item per execution containing the Telegram API response to the delete operation, converted to standard JSON format.
The output includes deletion result details from the Telegram MTProto client. If multiple items are processed, each will have a corresponding output entry. Errors during execution will halt unless 'Continue On Fail' is enabled, in which case error details are returned per item.
Examples
Example 1: Delete two messages with IDs 123 and 456 from chat '@mygroupchannel'.
Set 'Chat ID' to '@mygroupchannel' and 'Message IDs (comma-separated)' to '123,456'.