Don't have Telegram yet? Try it now!
https://ixnfo.com/en/how-to-turn-off-iphone-without-a-power-button.html
How to turn off iPhone without a power button