Don't have Telegram yet? Try it now!
https://kodejava.org/how-do-i-create-a-screen-capture-using-robot-class/
How do I create a screen capture using Robot class?