Connect Telegram
Tell your assistant you want to connect:Open @BotFather
Open the Telegram app on any device. Search for @BotFather and start a conversation with it. BotFather is Telegram’s official bot creation service.
Create a new bot
Send
/newbot to BotFather. It will ask you to choose a display name (anything you like) and a username (must end in bot, e.g. my_assistant_bot).Copy the token
BotFather replies with a bot token — a long string that looks like
123456789:ABCdef.... Copy the entire token.Paste the token to your assistant
Switch back to your GenosOS chat and paste the token:The agent stores it securely in the encrypted vault and enables the channel.
DM policy
The default policy ispairing. When someone messages your bot for the first time, they receive a 6-digit code that you must approve.
| Policy | Behavior |
|---|---|
pairing | Unknown senders get a 6-digit code. You approve via the agent. |
allowlist | Only user IDs you specify can interact. |
open | Accept messages from anyone. |
disabled | Ignore all incoming Telegram messages. |
Polling vs webhook mode
By default, GenosOS uses long polling — the bot continuously checks Telegram’s servers for new messages. This works without any public URL or tunnel. If you want webhook mode (Telegram pushes messages to your server instead of you pulling), you need a publicly reachable URL:For most self-hosted setups, polling is the simpler choice. Webhook mode is useful if you want lower latency or are running behind a load balancer.