Trigger Communications

Triggers when a new message is posted in a Telegram chat or group. Connect your Telegram bot, then add the bot to your chat.

At a Glance

FieldValue
Trigger IDtelegram-channel
CategoryCommunications
Tagstelegram, messaging, social, chat, bot, notification

Trigger Configuration

FieldTypeRequiredDescription
chatIdstringYesTelegram chat ID of a verified DM or group.

Trigger Result

FieldTypeRequiredDescription
triggeredAtstringYesTimestamp when the message was received (UTC, RFC3339 format)
platformstringYesPlatform identifier (always 'telegram')
updateIdnumberYesTelegram update ID
messageIdnumberYesTelegram message ID
textstringYesMessage text content
chatIdnumberYesTelegram chat ID where the message was posted
userIdnumberYesTelegram user ID of the message sender
usernamestringNoUsername of the message sender (without @ prefix)
firstNamestringNoFirst name of the message sender
datenumberNoUnix timestamp when the message was sent
fromobjectNoFull sender information from Telegram
chatobjectNoFull chat information from Telegram
entitiesarrayNoMessage entities (mentions, hashtags, etc.) from Telegram

Workflow Root Example

json
{ "nodes": { "root": { "type": "telegram-channel", "payload": { "chatId": "-1001234567890" }, "children": [ "log_event" ] }, "log_event": { "type": "log", "payload": { "message": "Triggered at {{$trigger.triggeredAt}}" }, "children": [] } }}

Downstream nodes can use {{$trigger.triggeredAt}} and any result fields listed above. Event triggers usually expose the raw source payload under a field such as event, body, trade, or raw.

Ask a question... ⌘I