Channel guide · Telegram · DMs + groups

Connect Moltbot to Telegram

This page focuses on the practical pieces you’ll actually need when testing Moltbot quickly: bot setup, group behavior, and common debugging steps.

Minimum checklist

1
Create a Telegram bot
Use BotFather to get a bot token.
2
Add it to your group
For group workflows, add the bot and confirm it can see messages (depending on privacy settings).
3
Verify Moltbot receives events
Tail logs while sending a test message.

Official reference: docs.molt.bot/channels/telegram

How to find the Telegram group chat id

Option A (fastest): @getidsbot

Forward a message from the group to @getidsbot and read the chat id.

Option B: inspect Moltbot logs

Send a message in the group, then watch moltbot logs --follow for chat.id.

Option C: Bot API getUpdates

Use Telegram’s getUpdates JSON and read message.chat.id.

Group behavior: mention vs always-on

In groups, you typically want Moltbot to respond only when mentioned. This reduces noise and avoids accidental triggers.

Tip: start mention-only. Switch to always-on later if your group is dedicated to Moltbot usage.

Next: ship a first win