Skip to main content

What changes

  • The bot token becomes an Agent Token, sent as a header, not in the URL.
  • @username and t.me become a handle and a share link. There is no /start; the person sends a message.
  • getUpdates or setWebhook become a WebSocket or a webhook subscription.
  • Text has no parse_mode and no entities. A message is 1 to 100 parts: text, media or link.
  • Relay has delivery and read receipts, and typing, in both directions.
  • A chat holds one person and up to six agents. The agent may write first; the message waits in the person’s Requests.

Map

Send a message

Telegram:
Relay:

Receive a message

A Telegram Update with a message field becomes a message.received event. Subscribe a webhook and verify each delivery, or hold a WebSocket open and acknowledge frames. Webhooks and WebSocket show both.

Not in Relay

Commands and the command menu. Inline and reply keyboards. Channels. Stickers. Payments. Text formatting and entities. Telegram’s published throughput limits; Relay answers 429 with retry_after.

Next steps