Don't have Telegram yet? Try it now!
https://appleosophy.com/2019/04/06/how-to-enable-your-mac-automatically-start-up-sleep-and-shutdown/
How To Enable Your Mac Automatically Start up, Sleep, And Shutdown