messages.TranslatedText

Translated text with entities.

messages.translateNoResult#67ca4737 = messages.TranslatedText;
messages.translateResultText#a214f7d0 text:string = messages.TranslatedText;

---functions---

messages.translateText#24ce6dee flags:# peer:flags.0?InputPeer msg_id:flags.0?int text:flags.1?string from_lang:flags.2?string to_lang:string = messages.TranslatedText;

Constructors

Constructor Description
messages.translateResult Translated text with entities

Methods

Method Description
messages.translateText Translate a given text.

Styled text entities will only be preserved for Telegram Premium users.

Related pages

Styled text with message entities

How to create styled text with message entities