messages.TranslatedText

Translated text with entities.

messages.translateResult#33db32f8 result:Vector<TextWithEntities> = messages.TranslatedText;

---functions---

messages.translateText#63183030 flags:# peer:flags.0?InputPeer id:flags.0?Vector<int> text:flags.1?Vector<TextWithEntities> 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