Telegram webhook notification support? #16988
-
I hope this message finds you well. I’m writing to inquire about the status of the proposed Telegram webhooks functionality and the associated pull request #9825 - Feature: add Telegram webhook notification support. This feature would greatly enhance Prefect’s integration capabilities, especially for real-time notifications, and I’m eager to understand why it hasn’t been merged yet. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To help anyone looking for the same thing. Its possible via Custom Notification Webhook: Using botfather u can create a telegram token and then you also have to find out your chat id where u want to send messages too (you can google this). With this info you can go to blocks -> custom notification webhook. Heres the image in text form incase it has any display issues: Webhook URL |
Beta Was this translation helpful? Give feedback.
To help anyone looking for the same thing. Its possible via Custom Notification Webhook:
Using botfather u can create a telegram token and then you also have to find out your chat id where u want to send messages too (you can google this). With this info you can go to blocks -> custom notification webhook.
Heres the image in text form incase it has any display issues:
Webhook URL
https://api.telegram.org/bot{{botToken}}/sendMessage
Name
telegram
Method
POST
Query Params
None
Cookies
None
Headers
{"Content-Type":"application/json"}
Custom Secret Values
{"botToken":"********"}
Timeout
10
Form Data
None
JSON Data
{"chat_id":"CHATID","text":"{{ body }}","disable_web_page_preview":true}