Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Message → Delete Messages

AI-generated

Summary

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.

Links

Discussion