Don't have Telegram yet? Try it now!
https://eureka.ykyuen.info/2011/03/19/writing-your-own-firefox-plugin/
Writing Your Own Firefox Plugin