Bot Integrations
Integrations connect your bot to communication channels. Each bot can have multiple integrations.
Supported Platforms
| Platform | Status | Description |
|---|---|---|
| Telegram | ✅ Available | Full bot API with webhook support |
| ✅ Available | Inbound/outbound via Mailgun | |
| Discord | 🔜 Planned | Discord bot integration |
| Slack | 🔜 Planned | Slack app integration |
Managing Integrations
Adding an Integration
- Go to Bots → select your bot → Integrations tab
- Click Add Integration
- Select the platform
- Enter the required credentials
- Click Save
Integration Credentials
Each platform requires different credentials:
Telegram:
- Bot Token (from @BotFather)
- Bot Name
Email:
- Mailgun API Key
- Sending Domain
- From Address
Enabling / Disabling
Toggle the Enabled switch to temporarily disable an integration without removing it. When disabled, the bot stops processing messages from that channel.
Removing an Integration
Click Delete on the integration to permanently remove it. This will also unregister the webhook.
Webhook Management
Mesachat automatically manages webhooks for supported platforms:
- Creation — Webhooks are registered when integrations are created
- Updates — Webhooks are updated when integration settings change
- Deduplication — Mesachat checks existing webhook state before registering to avoid rate limits
- Retry Logic — Rate-limited webhook registrations are retried with exponential backoff
info
Webhook registration is event-driven. You don't need to manually configure webhook URLs.