ubports / telegram-app

Unofficial Telegram App for Ubuntu Desktop & Mobile
GNU General Public License v3.0
55 stars 23 forks source link

code formatted text not handled #160

Closed mymike00 closed 5 years ago

mymike00 commented 6 years ago

the code formatted text (the one styled using ``) should be handled using a mono font

immagine example on telegram desktop how it is viewed

Flohack74 commented 6 years ago

This is a bit more complicated. In addition to the inline text Telegram uses special extra fields for markup, to distinguish a normal backtick from formatted text. Not all text is to be converted, it seems. See https://core.telegram.org/bots/api#messageentity