diun
diun copied to clipboard
Telegram - formatted messages
Telegram message has a flag (parse_mode) for formatted messages. https://core.telegram.org/bots/api#formatting-options
Right now if I set the templateBody to Docker image <code>{{ .Entry.Image.Path }}</code> has been released an <b>update</b>.
then the <...> tags are showing in the message instead of the formatted message.
It would be nice to have a notif parameter like:
notif:
telegram:
parseMode: HTML / Markdown / MarkdownV2
This is very old, but I found you can surround text in backticks `like this` to get monospaced text.