Don't have Telegram yet? Try it now!
https://jailbreaknerds.com/how-to-fix-iphone-xr-randomly-restarting-itself.html
How to Fix iPhone XR Randomly Restarting Itself