THE TEA · plateforme pour développeursapi.thetea.app
tea.support

Nativement IA

Le thé chinois, dans votre messagerie.

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.

Le parcours d'un message

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)

Plateformes

PlateformeStatutPrérequis
Telegramactif@TheTeaSupportBot — envoyez un nom de thé en message privé
Discord / Slackprévujeton d'application (en libre-service)
LINEprévuCanal Messaging API
WhatsApp / MessengerprévuMeta Business + validation de l'application
WeChat 公众号prévuentreprise chinoise vérifiée

Lancer le bot 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.

Autres accès

Les mêmes données sont une API REST, un Serveur MCP hébergé, une Compétence IA, une spécification OpenAPI et un llms.txt. Votre forfait et votre consommation : Compte.