getMe to validate the token, stores the bot username, and registers the public inbound webhook with setWebhook.
Configure
1
Create a bot
Use Telegram’s BotFather to create a bot and copy its token. Treat the token as a password.
2
Set the public API URL
Configure
PUBLIC_API_URL to the gateway’s externally reachable HTTPS origin. Telegram cannot call a localhost URL.3
Add the channel
In Dashboard → Channels → Telegram, provide a 2–100 character name and the bot token. InteraOne validates the bot and registers
/api/v1/channels/telegram/inbound/:channelId.4
Send a test message
Start the bot from a Telegram account, confirm a conversation appears, and reply from the inbox.
telegram-<chatId> sessions and are tagged telegram. Outbound replies use Telegram’s sendMessage endpoint with the stored bot token.
