diun icon indicating copy to clipboard operation
diun copied to clipboard

Telegram - formatted messages

Open Victoare opened this issue 1 year ago • 2 comments

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

Victoare avatar Mar 29 '23 13:03 Victoare

This is very old, but I found you can surround text in backticks `like this` to get monospaced text.

immagine

LoScienzo avatar Feb 08 '24 22:02 LoScienzo