Don't have Telegram yet? Try it now!
https://kodejava.org/how-do-i-check-if-cursor-is-in-the-first-row/
How do I check if cursor is in the first row?