Don't have Telegram yet? Try it now!
https://kodejava.org/how-do-i-get-screens-display-mode-information/
How do I get screen's display mode information?