Solaris AISolaris AI FlowDocs
Node ReferenceMessaging

Telegram

Send messages, photos, and check bot status via Telegram Bot API.

View as Markdown

The Telegram node sends messages and photos through the Telegram Bot API. Use it for alerts, notifications, and automated reporting.

Prerequisites

  • Telegram Bot Token (create via @BotFather)
  • Add as a credential in Credentials
  • Your bot must be added to the target chat/group

Operations

OperationDescriptionKey inputs
sendMessageSend a text messagechatId, message
sendPhotoSend a photo with optional captionchatId, photoUrl, caption
getMeGet bot info (test connectivity)(none)
getUpdatesGet recent messages to the bot(none)

Configuration

FieldTypeRequiredDescription
chatIdstringFor send opsTelegram chat/group/channel ID
messagestringFor sendMessageMessage text (supports template expressions)
photoUrlstringFor sendPhotoURL of the photo to send
captionstringNoPhoto caption text
parseModestringNoMarkdown or HTML for formatting
disableNotificationbooleanNoSend silently (default: false)

Getting your chat ID

  1. Start a conversation with your bot
  2. Send any message
  3. Use the getUpdates operation to see recent messages
  4. Find the chat.id field in the response

Template expressions in messages

Use upstream node data in your messages:

SOL Price Alert: {birdeyeResponse.data.value} USD
24h Change: {birdeyeResponse.data.priceChange24h}%

Output

sendMessage:

{
  "success": true,
  "operation": "sendMessage",
  "chatId": "-1001234567890",
  "renderedMessage": "SOL Price Alert: 150.23 USD",
  "data": { /* raw Telegram Bot API response */ }
}

sendPhoto returns the same shape minus renderedMessage. getMe and getUpdates return { success, operation, data }, where data is the raw Bot API response; getUpdates is a snapshot of recent updates with no offset tracking, so re-runs may include previously-seen messages.

Downstream references use the response name (default telegramResponse): {telegramResponse.data.result.message_id} for the sent-message ID, {telegramResponse.chatId} for the chat the message was sent to.

Common use cases

  • Price alerts when tokens hit thresholds
  • Portfolio summary reports on a daily cron
  • New token launch notifications from Pump.fun

Next steps

On this page