AI 原生
中国茶, 在你的聊天里.
Each bot is a thin webhook over the Content API: send a tea name — get its full card; /random to discover. The user's locale picks the language (up to 72). One backend, one handler per platform.
消息流程解析
user: "Da Hong Pao" → GET /api/v2/search?q=Da Hong Pao (resolve slug) → GET /api/v2/preview/da-hong-pao?lang=ru (localized card · free)
平台
| 平台 | 状态 | 所需条件 |
|---|---|---|
| Telegram | 已上线 | @TheTeaSupportBot — 私信茶名 |
| Discord / Slack | 规划中 | 应用令牌(自助获取) |
| LINE | 规划中 | Messaging API 通道 |
| WhatsApp / Messenger | 规划中 | Meta 商务 + 应用审核 |
| WeChat 公众号 | 规划中 | 已认证的中国企业 |
启动 Telegram 机器人
- Message
@BotFather→/newbot→ copy the token. - Deploy the worker (code in the repo,
bots/telegram/):
cd bots/telegram npx wrangler deploy npx wrangler secret put BOT_TOKEN # paste token # point Telegram at the worker: curl "https://api.telegram.org/bot<TOKEN>/setWebhook?url=https://thetea-telegram-bot.<acct>.workers.dev"
Then DM it: Biluochun, 大红袍, /random, /tea longjing. The other platforms reuse the same handler — the work is mostly account approval, not code.
其他接入方式
同一份数据既是一个 REST API、托管的 MCP 服务器、一台 AI 技能、一个 OpenAPI 规范,也是一个 llms.txt.