All integrations

Telegram

Channel

Connect your agent to a Telegram bot for 1:1 and group chats.

Read the full channel docs

Install

Add this channel from eve's registry. This writes agent/channels/telegram.ts:

bash
eve add channel/telegram

Quick start

Create agent/channels/telegram.ts:

ts
// agent/channels/telegram.tsimport { telegramChannel } from "eve/channels/telegram";
export default telegramChannel({  credentials: { botToken: () => process.env.TELEGRAM_BOT_TOKEN! },});

Configure

Create a bot with @BotFather, then register the webhook to point at eve's route (/eve/v1/telegram). Store the bot token in an environment variable. See the Telegram channel docs for group privacy and command setup.