Relay Console

Telegram Bot API · long-lived webhook

no token yet Setup

bot control room

Your Telegram bot answers in a second — you decide what it says

Every incoming message hits /webhook/telegram, gets matched against your command list, and is answered with the exact text below. Nothing runs on a timer and nothing is guessed.

Messages in

7

since this bot went live

Replies sent

7

command + fallback answers

Active chats

4

unique Telegram chat ids

Needs a human

5

inbound with no command match

Live inbox

Refreshes itself every 8 seconds. Newest at the bottom.

@priyanka_s · 13:46 UTC

/menu

Relay · 13:46 UTC

Today's bar: • Filter brew — ₹160 • Cortado — ₹190 • Tonic espresso — ₹220 • Cardamom bun — ₹140

@dev_arjun · 14:09 UTC

do you have oat milk?

no command matched — fallback sent

Relay · 14:09 UTC

Thanks! A human is on it — we usually reply inside 10 minutes.

@meera.k · 14:28 UTC

/hours

Relay · 14:28 UTC

We're open 7:30am–9:00pm, every day except Tuesday. Last order goes in 20 minutes before close.

you (test) · 14:41 UTC test

sex

no command matched — fallback sent

Relay · 14:41 UTC test

Thanks! A human is on it — we usually reply inside 10 minutes.

you (test) · 14:43 UTC test

gdgd

no command matched — fallback sent

Relay · 14:43 UTC test

Thanks! A human is on it — we usually reply inside 10 minutes.

you (test) · 14:43 UTC test

gdgd

no command matched — fallback sent

Relay · 14:43 UTC test

Thanks! A human is on it — we usually reply inside 10 minutes.

you (test) · 14:44 UTC test

10=10

no command matched — fallback sent

Relay · 14:44 UTC test

Thanks! A human is on it — we usually reply inside 10 minutes.

Test a message

Type what a visitor would send. Same matcher as the real webhook — no token needed.

Send or broadcast

Push a message to one chat id, or to every chat that has written in.

Known chats

  • test you (test)
  • 9013442 @meera.k
  • 8820114 @dev_arjun
  • 7714920 @priyanka_s

Tap a chip to copy its chat id.

Add or update a command

A trigger starting with / matches the first word exactly. Any other word matches anywhere in the message.

Command list

Longest trigger wins when two could match.

  • /start live 412 hits

    Hey 👋 I'm Relay, the bot for Northline Coffee. Try /menu, /hours or /order — or just type your question and a human picks it up.

    Welcome message, sent on first contact

  • /menu live 168 hits

    Today's bar: • Filter brew — ₹160 • Cortado — ₹190 • Tonic espresso — ₹220 • Cardamom bun — ₹140

    Daily drinks list

  • /hours live 94 hits

    We're open 7:30am–9:00pm, every day except Tuesday. Last order goes in 20 minutes before close.

    Opening times

  • /order live 57 hits

    Pickup orders: send the drink name + a time and we'll have it on the counter. Payment at the till or on UPI.

    How to order ahead

  • /help live 41 hits

    Commands I know: /menu, /hours, /order, /where. Anything else and I'll ping the team — usually a reply inside 10 minutes.

    Command list

  • /where paused 12 hits

    14 Baker Lane, second floor, above the bike shop. Look for the blue door.

    Address

Connect the bot

  1. 1. In Telegram, message @BotFather → /newbot, pick a name, copy the token.
  2. 2. Paste it into the Environment tab as TELEGRAM_BOT_TOKEN, then rebuild.
  3. 3. Register the webhook below with this app's public address. Telegram then posts every update to /webhook/telegram.

We append /webhook/telegram for you.

Webhook status: Not registered yet

Fallback reply

Sent when nothing matches, so no one is left on read.

One webhook, every question answered

Add the token, register the webhook, and Relay handles the repeats while your team takes the rest.