Skip to main content
Technical Preview

Overview

A client-mode connector for a curated messaging slice of the Telegram Bot API: Default BASE_ADDRESS is https://api.telegram.org. Topics use messaging/telegram/<object>/<verb>.
Telegram authenticates by embedding the bot token in the URL path (/bot{token}/METHOD_NAME). This template does not send an Authorization header. Prefer Hub secrets for the token. getUpdates and setWebhook cannot both be active. Inbound webhook → MQTT is out of scope for this client-mode package. Status remains blocked until an authenticated live smoke succeeds.

Basic Syntax

Events

Auth

  1. Create a bot with @BotFather and copy the bot token.
  2. Set connector BASE_ADDRESS to https://api.telegram.org.
  3. Pass token on the MQTT request payload so path placeholders resolve: /bot{value.json.token}/….
  4. Store the token in Hub secrets / GET SECRET "TELEGRAM_BOT_TOKEN". Never commit real credentials.
  5. Successful getMe / sendMessage returns HTTP 200 with JSON "ok": true.

Example payloads

getMe:
sendMessage:
sendPhoto:
setWebhook:
Last modified on October 21, 2026