Skip to main content
Connects to the Telegram Bot API via long polling or webhook.

Prerequisites

Configuration

In ~/.meepagateway/agents/<id>/agent.yaml:
connectors:
  - type: telegram
    bot_token: "123456:ABC-DEF..."
    poll_interval: "1s"
bot_token
string
required
Telegram bot token from @BotFather.
poll_interval
duration
default:"1s"
Polling frequency for long-polling mode. Supports s, m, h.
webhook_url
string
Public HTTPS URL for webhook delivery. If set, polling is disabled and a local HTTP listener starts on webhook_port.
webhook_port
integer
Local port for the webhook listener.Example: 8443