Actions40
- Chat Actions
- Contact Actions
- Custom Request Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Message → Delete Messages
AI-generatedSummary
Delete one or more messages in a specified Telegram chat, optionally removing them for all users.
Inputs
- Chat ID (required) — The identifier of the Telegram chat from which to delete messages.
- Message IDs (required) — Comma-separated list of message identifiers in the chat to delete.
- Delete for All Users? (required) — Whether to delete the specified messages for all users (revoke) or just locally.
Output shape
A JSON array containing the Telegram API response to the deleteMessages request, indicating success or failure of the deletion operation.
The result includes the Telegram API response; errors may be returned if the deletion fails. The message IDs must be provided as strings separated by commas and will be parsed into an array internally by the node.