Süni-intellekt-əsaslı
Çin çayı, söhbətinizdə.
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.
Mesaj axını necə işləyir
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)
Platformalar
| Platforma | Status | Ehtiyaclar |
|---|---|---|
| Telegram | canlı | @TheTeaSupportBot — DM ilə çay adı göndərin |
| Discord / Slack | planlaşdırılan | tətbiq tokeni (özünəxidmət) |
| LINE | planlaşdırılan | Mesajlaşma API kanalı |
| WhatsApp / Messenger | planlaşdırılan | Meta Business + tətbiq rəyi |
| WeChat 公众号 | planlaşdırılan | təsdiqlənmiş Çin biznesi |
Telegram botunu işə salın
- 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.
Digər giriş yolları
Eyni verilənlər həm də REST API, hostinq edilən MCP server, bir Süni intellekt bacarığı, bir OpenAPI spec və bir llms.txt.