changedetection.io: telegram:// diff notifications, don't send anything other than , , , and
When using a telegram notification, which includes {diff} in the body/other sometimes there are errors
2022-04-21 13:51:42,987 - WARNING - Failed to send Telegram notification to -628107617: Bad Request: can't parse entities: Unsupported start tag "br/" at byte offset 120, error=400.
<b>, <i>, <a>,<code> and <pre>
https://github.com/Eleirbag89/TelegramBotPHP/issues/152#issuecomment-395220066
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 19 (6 by maintainers)
Commits related to this issue
- Upgrade notifications library Re #555 - fixing telegram HTML markup in notification title — committed to dgtlmoon/changedetection.io by dgtlmoon 2 years ago
- Upgrade notifications library Re #555 - fixing telegram HTML markup in notification title — committed to dzek69/changedetection.io-non-root by dgtlmoon 2 years ago
- Re #555 - tgram:// notifications - strip added HTML tag which is not supported by Telegram — committed to dgtlmoon/changedetection.io by dgtlmoon 2 years ago
- Re #555 - tgram:// notifications - strip added HTML tag which is not supported by Telegram — committed to dgtlmoon/changedetection.io by dgtlmoon 2 years ago
- Re #555 - tgram:// notifications - strip added HTML tag which is not supported by Telegram — committed to dgtlmoon/changedetection.io by dgtlmoon 2 years ago
I don’t know if this is related to this issue or the email title issue, but I’ve started seeing Telegram title issues. All spaces in the title are replaced by
in the Telegram title. For example, the titles are something like this:ChangeDetection - Something has changedEdit: I just updated to the container that was pushed a few hours ago, same issue…
FWIW - I made a donation to the Apprise dev like you suggested
Ok so now one issue left for me, is
so it looks like tgram doesnt support
<br/>even in the BodyI’ll change that to
<pre>..</pre>wrap perhaps@BryanWall as mentioned in the comment above https://github.com/dgtlmoon/changedetection.io/issues/555#issuecomment-1105287610 already coverd
This is happening with any token included in the notification, not just
{diff}. I just tried it with only{watch_url}and got the same result.The only way I can get it to send a notification is to remove all tokens and only include plain text in the body.