Main Android app is built by iOS developer. It is have very low quality.
That's because this is the Android source code.
I don't have time right now to dig through the source myself, but the desktop source code is here if you want to see if this logic is in it: https://github.com/telegramdesktop/tdesktop
I can't trigger this behaviour in telegram though on mac or windows phone. Maybe just for Android?