Files
strukto-ai--mirage/docs/home/setup/telegram.mdx
T
Zecheng Zhang 924ec49796 Initial public release: Mirage v0.0.1-alpha.1
A unified virtual filesystem for AI agents. Mount S3, Google Drive,
Slack, Gmail, GitHub, Linear, Notion, Postgres, MongoDB, SSH, and
more behind one filesystem so agents read, write, and pipe across
services with familiar shell commands.

Ships Python (mirage-ai) and TypeScript (@struktoai/mirage-*) SDKs,
a CLI, FUSE mounts, and adapters for OpenAI Agents SDK, Vercel AI
SDK, LangChain deepagents, Pydantic AI, CAMEL, OpenHands, Mastra,
Pi Coding Agent, plus FUSE-based integration with Claude Code and
Codex.

Apache 2.0 licensed.
2026-05-06 10:03:22 -07:00

33 lines
912 B
Plaintext

---
title: Telegram
icon: paper-plane
description: Set up a Telegram Bot Token for the Telegram resource.
---
## Credentials
### 1. Create a Bot via BotFather
1. Open Telegram and message [@BotFather](https://t.me/BotFather)
1. Send `/newbot` and follow the prompts to name your bot
1. Copy the **Bot Token** that BotFather returns
### 2. Add the Bot to Groups or Channels
1. Open the group or channel in Telegram
1. Add the bot as a member
1. For **channels**, add the bot as an **administrator** (channels require admin access for the bot to read messages)
### 3. Send a Message
Send at least one message in the group or channel so the bot receives an update and can discover the chat.
### 4. Set Environment Variables
```bash
# .env.development
TELEGRAM_BOT_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
```
For Python configuration, see the [Python Telegram Setup](/python/setup/telegram) guide.