Tailflow
Skip to article
Browse documentation

Telegram · Action

Send message

Sends a message to a Telegram chat you link — your own, a group, or a channel. Linked by opening a link in Telegram, so there is no bot to create and no token to paste.

When to use it

The channel most people already have open. A treasury group that wants to hear about outflows, a personal chat for a wallet you watch, an announcement channel for large swaps.

At a glance

IntegrationTelegram
Credits1
ConnectionTelegram, by opening a link

Settings

messageRequiredAccepts event fields
The text, with Telegram's HTML tags for bold, italic, code and links. Values you insert are escaped for you.
silent
Deliver without a notification sound.

Write the message

The Message is sent as HTML. Telegram supports bold, italic, underline, strikethrough, code, preformatted blocks, links and quotes, written as tags. Values you insert with templates are escaped automatically, so a token name containing < or & cannot break the message.

The counter shows the length Telegram will count. A message over the limit is cut with an ellipsis. A tag Telegram does not support is reported under the field and the validate run shows the action as failing.

Message template
<b>{{ event.token_symbol }} transfer</b>
{{ event.value_decimal }} tokens
<a href="{{ event.explorer_tx_url }}">Transaction</a>

Check the result

Validate run shows the rendered message without sending. A real run records Telegram's answer on the action. If the bot was blocked or removed from the chat, the connection is disconnected and the flows using it stop with that reason until it is reconnected.

Telegram limits how fast one bot can send: about one message a second to a chat and twenty a minute to a group. Sends are paced to stay within that; a flow that fires faster is delivered in order, slightly later.

What it hands on

Nothing. This action delivers the event rather than adding to it, so the steps below it read the same thing they would have read without it.

Groups and channels

Add to a group from the connect dialog, which adds the bot and links the group in one step. For a channel, make the bot an administrator that can post, then post the command the dialog shows in the channel.

Good to know

  • A message longer than Telegram allows is cut with an ellipsis rather than refused.
  • A tag Telegram does not support is reported in the test run before anything is sent.
  • If the bot is removed from the chat, the connection is disconnected and the flows using it stop with that reason.