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
- Create a bot with @BotFather and copy the bot token.
- Set connector
BASE_ADDRESStohttps://api.telegram.org. - Pass
tokenon the MQTT request payload so path placeholders resolve:/bot{value.json.token}/…. - Store the token in Hub secrets /
GET SECRET "TELEGRAM_BOT_TOKEN". Never commit real credentials. - Successful
getMe/sendMessagereturns HTTP 200 with JSON"ok": true.

