alertmanager icon indicating copy to clipboard operation
alertmanager copied to clipboard

fix(telegram): passing ParseMode when sending message

Open ntk148v opened this issue 1 year ago • 1 comments

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

ntk148v avatar Sep 09 '24 08:09 ntk148v

@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.

AzureLeMoon avatar Oct 02 '24 00:10 AzureLeMoon