THE TEA · 開発者プラットフォームapi.thetea.app
tea.support

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 — お茶の名前をDMで送信
Discord / Slack予定アプリトークン(セルフサービス)
LINE予定Messaging APIチャネル
WhatsApp / Messenger予定Meta Businessとアプリレビュー
WeChat公式アカウント予定中国での認証済みビジネス

Telegramボットを起動する

  1. Message @BotFather/newbot → copy the token.
  2. 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、 an AIスキル、an OpenAPI 仕様書と llms.txt.