Docs

Connect Telegram notifications to ModePilot

You only need two values for ModePilot: a bot token and your personal chat ID. Create the bot first, send it a message, fetch the chat ID, then save both values in Integrations.

What you need before you start
  • A Telegram account.
  • A bot token from BotFather.
  • Your chat ID from a real message sent to that bot.

Setup steps

1. Create the bot and send it a message
  1. Open Telegram and start a chat with:
    @BotFather
  2. Send:
    /newbot
  3. Choose a bot name and username.
  4. Copy the bot token BotFather gives you.
  5. Open a chat with your new bot.
  6. Send it any message so Telegram creates a real chat record.
2. Find your chat ID
  1. Open this URL:
    https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates
  2. Find the latest message object.
  3. Copy message.chat.id.
  4. If the response is empty, send the bot another message and reload.
3. Save it in ModePilot
  1. Open Integrations.
  2. Choose Telegram.
  3. Paste the bot token and chat ID.
  4. Choose whether Telegram should notify you on all mode changes or only important changes.
  5. Click Save settings to store the configuration.
  6. Use Save and send test to save the current values and confirm the message arrives.

Common problems

No message arrives
  • The bot token is wrong or incomplete.
  • The chat ID came from the wrong payload.
  • You never sent the bot a direct message first.
getUpdates is empty
  • The bot has no recent messages yet.
  • You checked before messaging the bot.
  • The token in the URL does not match the bot you created.

Official Telegram references

Use the ModePilot steps above first, then the official docs if you need deeper detail.