alertmanager
alertmanager copied to clipboard
fix(telegram): passing ParseMode when sending message
Before commit [1], the message parse mode value is the same as bot parse mode. Therefore, we don't need to pass ParseMode whenever sending message. But after that commit, if we don't pass SendOpts's ParseMode, the library will use the default mode which is empty string "", and HTML tags aren't parsed.
[1] https://github.com/tucnak/telebot/commit/864bef4e4d3a60b8079db4fdb51cac2e779349cd
Close-Issue: https://github.com/prometheus/alertmanager/issues/4026
@grobinson-grafana @simonpasquier hey there, would you be so kind to review this pr and merge it if everything is in order? would be much appreciated.