Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt

Use this file to discover all available pages before exploring further.

Credentials

1. Create a Bot via BotFather

  1. Open Telegram and message @BotFather
  2. Send /newbot and follow the prompts to name your bot
  3. Copy the Bot Token that BotFather returns

2. Add the Bot to Groups or Channels

  1. Open the group or channel in Telegram
  2. Add the bot as a member
  3. For channels, add the bot as an administrator (channels require admin access for the bot to read messages)

3. Send a Message

Send at least one message in the group or channel so the bot receives an update and can discover the chat.

4. Set Environment Variables

# .env.development
TELEGRAM_BOT_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
For Python configuration, see the Python Telegram Setup guide.