OpenAgent
ConnectorsPipes

Telegram

Connect a Telegram bot to an OpenAgent Store.

Telegram

The Telegram Pipe connects a Telegram bot to a Store. Messages sent to the bot are answered by the agent in the same chat.

Configuration

FieldValue
TypeTelegram
StoreThe Store whose agent should reply.
TokenYour bot token from @BotFather.
DomainYour public base URL (used to register the webhook).

Telegram does not use a separate secret field.

Webhook

Unlike the other channels, you do not register the webhook manually. When you save an active Telegram Pipe, OpenAgent calls Telegram's setWebhook for you, pointing it at https://<your-domain>/api/chat-webhook/telegram/<pipe-name>. Make sure the Domain is set to a URL Telegram can reach.

Streaming

Telegram supports streaming replies: OpenAgent edits the bot's message as the model produces tokens.

On this page