Skip to main content

Telegram

Send text, photos, documents, interactive inline keyboards, and location pins to Telegram users and groups. Edit sent messages, pin important ones, and handle button callback queries.

Authentication

Auth type: API Key Create a bot via @BotFather on Telegram using /newbot.
CredentialDescription
Bot TokenToken from @BotFather (e.g. 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw)

Triggers

TriggerWhen it fires
Message ReceivedA user sends a message to the bot
Command ReceivedA user sends a /command to the bot
Callback QueryA user clicks an inline keyboard button

Actions

ActionKey inputsKey outputs
Send MessagechatId, text, parseMode (Markdown/HTML), replyMarkupmessageId, chatId
Send PhotochatId, photoUrl, captionmessageId
Send DocumentchatId, documentUrl, captionmessageId
Send Inline KeyboardchatId, text, buttons[] (label + callbackData)messageId
Edit MessagechatId, messageId, textok
Delete MessagechatId, messageIdok
Pin MessagechatId, messageId, disableNotificationok
Answer Callback QuerycallbackQueryId, text, showAlertsuccess
Get ChatchatIdid, title, type, memberCount
Use parseMode: "HTML" for formatting: <b>bold</b>, <i>italic</i>, <code>code</code>. HTML is more reliable than Markdown when messages contain special characters like ., !, or -.