changedetection.io: telegram:// diff notifications, don't send anything other than , , , and
 

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 19 (6 by maintainers)

Commits related to this issue

Most upvoted comments

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 changed

Edit: 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


2022-04-25 21:30:09,946 - WARNING - Failed to send Telegram notification to -628107617: Bad Request: can't parse entities: Unsupported start tag "br/" at byte offset 386, error=400.
2022-04-25 21:30:09,704 - DEBUG - Telegram Payload: {'disable_notification': False, 'disable_web_page_preview': True, 'parse_mode': 'HTML', 'text': '<b>SOL - https://ftx.com/trade/SOL-PERP</b>\r\nWEB SOL https://solana.com/&nbsp;-&nbsp;(changed)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transactions&nbsp;per&nbsp;second&nbsp;1,393\n(changed)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Total&nbsp;Transactions&nbsp;70,787,991,580\n(into&nbsp;&nbsp;&nbsp;)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transactions&nbsp;per&nbsp;second&nbsp;1,328<br/>\n(into&nbsp;&nbsp;&nbsp;)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Total&nbsp;Transactions&nbsp;70,788,322,241<br/>\n(changed)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Validator&nbsp;nodes&nbsp;1,722<br/>\n(into&nbsp;&nbsp;&nbsp;)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Validator&nbsp;nodes&nbsp;1,724', 'chat_id': -628107617}

so it looks like tgram doesnt support <br/> even in the Body

I’ll change that to <pre>..</pre> wrap perhaps

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.