Hello everybody,
I am trying to send alerts to Telegram from Alertmanager but I am getting below error:
ts=2022-09-26T10:40:11.512Z caller=notify.go:732 level=warn component=dispatcher receiver=telegram integration=telegram[0] msg="Notify attemp failed, will retry later" attempts=1 err="telebot: invalid character '<' looking for beginning of value"
I have configured alertmanager as official doc says but I am not able to get alerts from my telegram bot.
This is the configuration of alertmanager.
receivers:
- name: telegram
telegram_configs:
- api_url: <private_bot_url>
bot_token: <private_token>
chat_id: <private_chat_id>
message: Test telegram receiver
send_resolved: True
I am using my custom bot. I am not using the official telegram api url with webhook configuration. I have a python script that sends to telegram the same message that is sent to it.
Does anyone know what could be the problem?
Thanks in advance.