feat: rework notification templating and add support for telegram (#5637)

Commit 9857770cc7 pushed by ricmaster

Labeling

Canceled