When you are with graphic accents problems on Telegram running over Ubuntu distro you can try fix it like this:
Editing the file telegramdesktop.desktop located at
/home/(your_username)/.local/share/applications/
and changing the following line in it:
Exec=/home/(your_username)/Downloads/Telegram/Telegram -- %u
to
Exec=env QT_IM_MODULE=xim /home/(your_username)/Downloads/Telegram/Telegram -- %u