Interface TranslateRichMessage

Translates a rich message to the given language. Request type for Tdjson#translateRichMessage.

interface TranslateRichMessage {
    @type: "translateRichMessage";
    message: InputRichMessage;
    to_language_code: string;
    tone: string;
}

Properties

@type: "translateRichMessage"

Rich message to translate.

to_language_code: string

Language code of the language to which the message is translated. See translateText.to_language_code for the list of supported values.

tone: string

Tone of the translation; see translateText.tone for the list of supported values.