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계획됨메시징 API 채널
WhatsApp / Messenger계획됨Meta Business + 앱 검토
위챗 공식 계정계획됨인증된 중국 사업체

텔레그램 봇 실행하기

  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 서버, an AI 스킬, 개별 OpenAPI 사양 및 llms.txt.