Don't have Telegram yet? Try it now!
https://macmule.com/2014/11/19/how-to-get-the-currently-logged-in-user-in-a-more-apple-approved-way/
How To: Get the currently logged in user, in a more Apple approved way