Skip to content

Channels

Airupt supports Telegram, WhatsApp, and Discord. You can enable any combination.

Telegram

Telegram is the recommended channel — easiest to set up and most reliable.

1. Create a bot

Talk to @BotFather on Telegram:

/newbot

Follow the prompts. BotFather will give you a bot token like 123456789:ABC-DEFghijklmnopqrst.

2. Get your user ID

Talk to @userinfobot to get your numeric user ID.

3. Configure

yaml
channels:
  telegram:
    enabled: true
    bot_token: 123456789:ABC-DEFghijklmnopqrst
    allowed_users:
      - 987654321

allowed_users is a whitelist. Remove it or leave it empty to allow anyone who finds your bot to use it.

4. Start and test

bash
airupt start

Send /start to your bot in Telegram. You should get a welcome message.


WhatsApp

WhatsApp requires a Meta developer account and a phone number enrolled in the WhatsApp Business API.

1. Create a Meta App

  1. Go to developers.facebook.com
  2. Create a new app → Business type
  3. Add the WhatsApp product
  4. Note your Phone Number ID and generate a permanent access token

2. Configure the webhook

Set your webhook URL to https://your-domain.com/webhooks/whatsapp. Airupt exposes this automatically when WhatsApp is enabled.

3. Configure

yaml
channels:
  whatsapp:
    enabled: true
    phone_number_id: '123456789012345'
    access_token: EAABsbCS...

Discord

1. Create a bot

  1. Go to discord.com/developers/applications
  2. New Application → Bot tab → Add Bot
  3. Copy the bot token
  4. Under OAuth2 → URL Generator, select bot scope and Send Messages + Read Message History permissions
  5. Use the generated URL to invite the bot to your server

2. Get IDs

Enable Developer Mode in Discord (Settings → Advanced). Right-click your server → Copy ID (Guild ID). Right-click the channel → Copy ID (Channel ID).

3. Configure

yaml
channels:
  discord:
    enabled: true
    bot_token: MTI...
    guild_id: '123456789012345678'
    channel_id: '987654321098765432'

Airupt will only listen and respond in the specified channel.

Released under the MIT License.