Telegram Bot API connector. Send text, photos and documents to chats, groups and channels, edit, forward and delete messages, download files a user sent, inspect chats and administrators, and react in real time to incoming messages and inline-keyboard button presses.

Changelog

1 version
v1.0.0 Latest
  • Initial release.

Authentication

TypeDetails
API Key
Bot Token (password)
Open a chat with @BotFather in Telegram, send /newbot (or /mybots for an

Triggers

2
New Callback Query icon

New Callback Query

Triggers when a user presses an inline-keyboard button attached to one of the bot's messages. Answer it with the Answer Callback Query action, otherwise the button keeps showing a loading indicator. Shares the single per-bot webhook registration with the other Telegram triggers.
New Message icon

New Message

Triggers when the bot receives a message. Telegram allows only one webhook per bot, so every Telegram trigger of the same bot shares one registration created on flow start; stopping a flow leaves it in place because sibling flows may still need it. In groups the bot only sees messages addressed to it unless privacy mode is turned off in @BotFather.

Actions

11
Answer Callback Query icon

Answer Callback Query

Acknowledges an inline-keyboard button press, optionally showing a toast or an alert to the user who pressed it. Telegram shows a loading indicator on the button until the query is answered, so pair this with the New Callback Query trigger. Answers are accepted for a short window after the press.
Delete Message icon

Delete Message

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.
Edit Message icon

Edit Message

Replaces the text of a message the bot sent earlier. Telegram allows editing a bot message for up to 48 hours after it was sent, and returns the edited message.
Forward Message icon

Forward Message

Forwards a message from one chat to another, keeping the original author attribution. The bot must be a member of both chats.
Get File icon

Get File

Downloads a file a user sent to the bot and stores it for later steps. Takes the Telegram file ID emitted by the New Message trigger. Telegram only serves files up to 20 MB through this endpoint, and the download link it issues is valid for at least one hour.
Get Chat icon

Get Chat

Retrieves up-to-date information about a chat: title, type, description, invite link, default member permissions and photo.
Make API Call icon

Make API Call

Performs an arbitrary authorized call against the Telegram Bot API. The path is the Bot API method name, so /sendMessage is enough - the bot token is added automatically. Use this to reach methods this connector does not expose as their own component.
Send Document icon

Send Document

Sends a file to a Telegram chat. Provide either a public file URL or a Telegram file ID, or pick a stored file to upload. Bot uploads are capped at 50 MB by Telegram.
Send Message icon

Send Message

Sends a text message to a Telegram chat, group or channel. Telegram caps a single message at 4096 characters; longer text is rejected with a 400.
Send Photo icon

Send Photo

Sends a photo to a Telegram chat. Provide either a public image URL or a Telegram file ID, or pick a stored file to upload. Uploads are capped at 10 MB by Telegram; photos must be at most 10000 pixels in total width plus height.
List Chat Administrators icon

List Chat Administrators

Returns the administrators of a group, supergroup or channel, including the creator and each administrator's rights. Bots in the administrator list are omitted by Telegram. Returns the full list in one call - Telegram does not paginate this endpoint.