Don't have Telegram yet? Try it now!
https://danielme.com/2016/01/23/android-tutorial-broadcast-receiver/
Android: mensajes y eventos con Broadcasts