Ad Widget

Collapse

Webhook Telegram

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jutahx
    Junior Member
    • Jul 2021
    • 1

    #1

    Webhook Telegram

    Hello All!

    My problem is I created the telegram user and specified the chat id for the user media.
    When I test the media type I get this message.

    Media type test failed.
    • Sending failed: Bad Request: chat not found.

    Media type test log


    00:00:00.000 [Debug] [Telegram Webhook] URL: https://api.telegram.org/bot<TOKEN>/sendMessage
    00:00:00.000 [Debug] [Telegram Webhook] params: {"chat_id":"{alert.to}","text":"\\{ALERT\\.SUBJ ECT \\}\n\\{ALERT\\.MESSAGE\\}","disable_web_page_prev iew":true,"disable_notification":false,"parse_mod e ":"markdownv2"}
    00:00:00.122 [Debug] [Telegram Webhook] HTTP code: 400
    00:00:00.122 [Debug] [Telegram Webhook] notification failed: Bad Request: chat not found


    But if i enter the chat id directly in the test window, everything works perfectly

    I folow this
    solutions



Working...