# POST /webhooks/telegram

Source: https://postgale.com/docs/api-reference/inbound/post-webhooks-telegram

Telegram Bot API updates (message, channel_post, my_chat_member), registered with npm run telegram:set-webhook. X-Telegram-Bot-Api-Secret-Token must equal TELEGRAM_WEBHOOK_SECRET (compared in constant time). /connect <code> in a channel or group (or a forwarded channel post) links the chat; the bot being removed or losing the right to post flags the account needs_reconnect (account.disconnected). Always 200 for authentic updates, including ignored ones

This page is generated from the OpenAPI document: https://postgale.com/api/v1/openapi.json
