បង្កើតឡើងសម្រាប់ 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 | គ្រោងទុក | ឆានែល API ផ្ញើសារ |
| WhatsApp / Messenger | គ្រោងទុក | ការពិនិត្យ Meta Business + កម្មវិធី |
| WeChat គណនីផ្លូវការ | គ្រោងទុក | អាជីវកម្មដែលបានផ្ទៀងផ្ទាត់នៅចិន |
បើកដំណើរការ Telegram bot
- 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 server, ជា ជំនាញ AI, ជា OpenAPI spec និងមួយ llms.txt.