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