Skip to main content

Bot Integrations

Integrations connect your bot to communication channels. Each bot can have multiple integrations.

Supported Platforms

PlatformStatusDescription
Telegram✅ AvailableFull bot API with webhook support
Email✅ AvailableInbound/outbound via Mailgun
Discord🔜 PlannedDiscord bot integration
Slack🔜 PlannedSlack app integration

Managing Integrations

Adding an Integration

  1. Go to Bots → select your bot → Integrations tab
  2. Click Add Integration
  3. Select the platform
  4. Enter the required credentials
  5. 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.