Don't have Telegram yet? Try it now!
https://eureka.ykyuen.info/2013/02/25/php-detect-mobile-device-and-do-redirection/
PHP - Detect mobile device and do redirection