Telegram
1 min read
Telegram connects an agent to private chats, groups, and channels through a bot. It is a good option for direct support, internal coordination, or alerts that need a conversational response.
Before creating the channel
A bot cannot start a private conversation on its own: the person must open it and select Start, or add it to a group. In groups, Telegram enables privacy mode by default; the bot receives only commands, mentions, replies to its messages, and other messages directed to it.
Private chat
Group or channel
Create and connect the bot
Create the bot in BotFather
/newbot, and save the token it returns. That token gives full control of the bot: treat it as a password. Add Telegram to the agent
Define authorized chats
Activate and test
Protect the bot token
Do not send it in messages or include it in screenshots or repositories. If you think it has been exposed, revoke it from BotFather and update it in Kujira.
Control what it receives
The allow list is the first input barrier: if it is empty, no incoming messages are accepted. The mention rule then reduces noise in groups; keep it enabled except in spaces specifically intended for the agent.
If the agent must read every group message, disable privacy mode in BotFather or make it an administrator only when essential. Both options expand what Telegram delivers to the bot and must be reviewed together with the authorized-chat list.