Hello diyora2309,
Thanks for posting in the Apple Support Communities.
Are you seeing that this happens with other apps on your iPhone, or is this only occurring within the Telegram app?
If this happens across other apps, check out your keyboard settings to see if making any adjustments clear this up: Add or change keyboards on iPhone - Apple Support
Assign an alternative layout to a keyboard
You can use an alternative keyboard layout that doesn’t match the keys on your keyboard.
1. Go to Settings > General > Keyboard > Keyboards.
2. Tap a language at the top of the screen, then select an alternative layout from the list.
If you only see this occur within the Telegram app, check for any app updates via the the App Store. If you need assistance with updating your apps, check out this resource: How to manually update apps on your Apple device - Apple Support
Lastly, you'll want to contact Telegram Support if this is only occurring within that specific app.
Take care!