Don't have Telegram yet? Try it now!
https://matovsky.com/allow-only-numbers-uitextfield-ipad-swift-4-5.html
Allow only numbers for UITextField for iPad (Swift 4.x-5.0)