Basic Information

appmixer.telegram.core.DeleteMessage

Delete Message

1.0.0

Public

Deletes a message from a chat. A bot can delete its own messages for up to 48 hours, and any message in a group only when it has the "Delete messages" admin right. This cannot be undone.

Input Ports

in

FieldTypeDescription
Chat ID text Numeric chat ID (for example -1002345678901 for a group or channel) or a public @channelusername. The bot must be a member of the chat. Chat IDs are emitted by the New Message trigger.
Message ID number ID of the message to delete. By default a bot can delete only its own messages (and incoming messages in private chats), and only for 48 hours after they were sent. To delete messages posted by other members of a group or channel, make the bot an administrator with the Delete messages right — otherwise Telegram answers message can't be deleted for everyone.

Output Ports

out

FieldTypeDescription
No fields defined for this port

Full Metadata