This is just a suggestion but would it be plausible to add in a feature to the Telegram script to differentiate the "initial" or "very first" message that it displays after boot from the regular periodic messages?
I have been having some issues with my miners and having all of the telegram popups on my phone, having a difference in the first line it types to see what is a periodic message and what is a "first boot" as in it would have restarted and may have problems would help me out a lot. Just a suggestion, if it doesn't seem helpful to others then ignore.
I am referring to making the difference in the first lines that popup so they would still show in the preview message on the lock screen of a phone