order-bot-telegramlisted
Install: claude install-skill roama-studio/skills
# Order and booking bot in Telegram (PHP, shared hosting)
A guest taps buttons in the business's own bot, leaves a name and a phone, confirms; the owner gets the order in
Telegram at once (and as a row in a Google Sheet if wanted). Runs on any hosting with PHP 7.4+, curl and https -
the same hosting as the business's website.
Out of scope unless agreed separately: payments in the bot, delivery tracking, stock or POS integrations,
mailings to guests, other messengers.
## What the business gives
1. Their own bot from @BotFather on THEIR Telegram account (`/newbot`) -> the token. Never create a client's bot
on your account.
2. The menu or the service list: names, prices, opening hours (up to ~30 items reads well on buttons).
3. Who receives orders: the owner's or admin's chat id (they press Start in the bot, then `getUpdates` once
shows the id).
4. Hosting with PHP 7.4+ and https. (Google Apps Script cannot be the webhook: it answers with a redirect, which
Telegram counts as an error.)
5. Optional: a Google account for the sheet.
## Build it from `kit/` - never from zero
| File | What |
|---|---|
| `kit/webhook.php` | the webhook: checks the secret header, runs the conversation, sends the order |
| `kit/config.example.php` | token, secret, owner chat ids, optional sheet URL and secret, texts - the real config lives OUTSIDE the web root |
| `kit/menu.example.json` | categories, items with prices, booking times |
| `kit/README.md` | setup step by step, setWebhook, t