---
title: "Discussion on \"Webhook controller for the Telegram bot on Yii2: secret_token, idempotence and queue\" | Hashnode"
description: "Discussion on \"Webhook controller for the Telegram bot on Yii2: secret_token, idempotence and queue\". A practical guide to accepting Telegram updates in Yii2: actionWebhook with CSRF disabled, checking X-Telegram-Bot-Api-Secret-Token, saving update_id...\nWebhook is the main way to get updates Telegram"
url: "https://hashnode.com/posts/webhook-controller-for-the-telegram-bot-on-yii2-secret-token-idempotence-and-queue/6a9d55b2956dec9edef97b7f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Webhook controller for the Telegram bot on Yii2: secret\_token, idempotence and queue](https://botservice.hashnode.dev/webhook-controller-for-the-telegram-bot-on-yii2-secret-token-idempotence-and-queue?utm_source=hashnode&utm_medium=feed)

A practical guide to accepting Telegram updates in Yii2: actionWebhook with CSRF disabled, checking X-Telegram-Bot-Api-Secret-Token, saving update\_id... Webhook is the main way to get updates Telegram

Sep 6 · 4 min read · botservice.hashnode.dev  
Read the article

-   [#telegram-bot](https://hashnode.com/tag/telegram-bot)
-   [#telegramminiapps](https://hashnode.com/tag/telegramminiapps)
-   [#telegramapi](https://hashnode.com/tag/telegramapi)

## Written by

[Serhii](https://hashnode.com/@botservice)

@botservice

  
[View profile](https://hashnode.com/@botservice)

web development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
