Telegram
Deploy an AI agent to Telegram.
Last updated
Deploy an AI agent to Telegram.
Last updated
Requires a Telegram account.
Publishing an AI agent to Telegram allows your audience to interact with the agent—and —in a Telegram thread.
In the agent's Publish tab, or select an existing one from the table to open its settings.
In the Basics accordion, the following options are available:
Name — the internal name of the channel, used to distinguish from any other Telegram channels the agent is published to.
Default chat language — the language used by the AI agent at the start of a new chat. Available languages are set in the agent's settings.
Icon — the channel's avatar seen by live agents in the dashboard.
Press Save to confirm edits.
In the Configuration accordion, a token is required from Telegram.
To get this, use Telegram's BotFather chatbot to create a bot and gets its token:
Login to your Telegram account and start chatting with , used to create new bots and change settings for existing ones.
Insert the /newbot
command to create a new bot.
BotFather will ask for you to insert a:
Name — the bot's name shown to people who chat with it.
Username — the bot's short name, used in mentions and 't.me' links. It must be 5-32 characters long and is case sensitive, and only include letters, numbers, and underscores. The username must also end in "bot", e.g. "help_bot" or "HelpBot".
BotFather will then generate the bot's token, which allows anyone to control the bot. If it's lost or compromised, use the /token
command to generate a new one.
Insert the /setjoingroups
command to disable the bot from being added to group chats, required for integration with Proto AICX. Select the bot and type "Disable"
In Proto AICX, paste the token into the Telegram configuration's Authentication token field.
Press Verify. If successful, a t.me/<bot_username>
link will be generated and you can share this link with your audience.
Press Save to confirm edits.
Follow the link generated in step 7 above to open a thread with the bot (your AI agent) in Telegram.
See for a full list of BotFather commands and options.