hi guys, i'm learning elastic search but i stumble in this problem. i want to send an alert from elastic to telegram.
In short this is the result that i expect:
i use webhook connector and this is the config
but the problem is what should i put in this action body?
when i try to fill the body with the script above, this error appear. The connector can run just fine if i put just empty brackets
but somehow i managed to send message with chat bot to telegram group using this url below, this url is the same with the url i use in connector config except i text parameter is removed
https://api.telegram.org/(bot token)/sendMessage?chat_id=(chat id)&text=testText