Documentation Index
Fetch the complete documentation index at: https://docs.wednesdayai.dev/llms.txt
Use this file to discover all available pages before exploring further.
Telegram
WednesdayAI connects to Telegram via the Bot API using long polling (default) or webhooks. Setup requires a bot token from BotFather — there is no QR scanning or phone number linking.Quick setup
1. Create a bot in BotFather:- Open Telegram and message
@BotFather - Send
/newbotand follow the prompts - Copy the bot token (format:
123456789:AABBCCxyz...)
Finding user IDs
Telegram allowlists use numeric user IDs, not usernames.Access control
DM policy
dmPolicy: "allowlist" with empty allowFrom is rejected by config validation — it would block all DMs.
Group policy
@userinfobot, or read chat.id from openclaw logs --follow.
Group privacy mode
Telegram bots default to Privacy Mode — they only see messages that mention them or start with/. To receive all messages in a group:
- In BotFather:
/setprivacy→ select your bot → Disable - Or make the bot a group admin
- Remove and re-add the bot after changing privacy mode
openclaw channels status warns when Privacy Mode may be causing missed messages.
Native commands
Telegram supports native slash commands with autocomplete. Enable them:Live streaming
partial (default): updates the message in-place as tokens arrive — shows a typing indicator effect.
Troubleshooting
Bot does not see group messages
Bot does not see group messages
Telegram Privacy Mode is probably enabled. Check:
- BotFather:
/setprivacy→ should say Disabled - Remove and re-add the bot to the group after changing
- If the bot needs to see all messages (not just mentions), make it a group admin
Group messages silently ignored
Group messages silently ignored
Check
channels.telegram.groups — the group ID must be in the allowlist (or use "*" to allow all groups). Get the group ID from openclaw logs --follow.setMyCommands fails at startup
setMyCommands fails at startup
DNS/HTTPS to
api.telegram.org is blocked. Check network connectivity from the gateway host.Network instability / polling drops
Network instability / polling drops
Some environments have IPv6 issues with Telegram’s API servers. Try: