Raw.messages.TranslateText

Raw.messages.TranslateText

Translate a given text.

messages.translateText#63183030 flags:# peer:flags.0?InputPeer id:flags.0?Vector<int> text:flags.1?Vector<TextWithEntities> to_lang:string = messages.TranslatedText;
export namespace Raw {
  export namespace messages {
    export class TranslateText {
      constructor(params: {
        peer?: Raw.TypeInputPeer;
        id?: Array<number>;
        text?: Array<Raw.TypeTextWithEntities>;
        toLang: string;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x63183030

Property

Results

Raw.messages.TypeTranslatedText