Telegram turned a profit for the first time after paying down a significant portion of its $2 billion debt and generating additional revenue from Telegram Premium users and advertising.