Skip to main content

Telegram bot for new delivery order notifications

info

🚧 Translation in progress.

This page is not translated into English yet. To read it in Russian, switch the language using the selector in the header.

In this guide we build a Telegram bot that sends a message when a new delivery order appears in a restaurant. The bot has no complex logic: it receives a notification from iiko and forwards it to your Telegram chat.

The Russian version walks through the whole flow step by step, with ready-to-copy curl commands:

  1. getting an access token — POST /api/v2/access_token;
  2. getting the organization list — POST /api/1/organizations;
  3. creating a bot with @BotFather and finding your chat_id;
  4. configuring webhooks — POST /api/1/webhooks/update_settings;
  5. handling the DeliveryOrderUpdate event and filtering new orders (status = New);
  6. sending the message with sendMessage.

What's next​