Don't have Telegram yet? Try it now!
https://daniel-bartholomew.com/2014/07/24/fun-with-xdg-mime/
Fun with xdg-mime