<public-url> below for your stable public Roomote URL.
Create a Telegram bot
Message@BotFather in Telegram and create or select a bot. Save the bot
token and username in Roomote setup or env vars:
X-Telegram-Bot-Api-Secret-Token
header, and outbound replies use TELEGRAM_BOT_TOKEN.
Register the webhook
With Roomote running and<public-url> pointing at the Roomote web/API server,
register the Telegram webhook:
secret_token and TELEGRAM_WEBHOOK_SECRET.
Account linking
Telegram tasks are attributed only to senders who have linked their Telegram account to a Roomote user. Generate a link code under Settings > Personal > Linked Accounts and send it to the bot. Until a sender links, Roomote will not start, resume, or follow up on tasks on their behalf.Verify setup
- send a direct message to the bot, or mention the bot in a group
- confirm Roomote starts a task and posts a Telegram reply with the task link
- reply in the same Telegram chat or forum topic to send a follow-up
Local URL changes
When the public URL changes, callsetWebhook again with the new
<public-url>/api/webhooks/telegram URL and restart Roomote with the matching
URL.