Interface TranslateMessageRichMessage

Extracts rich message of the given message and translates it to the given language. Request type for Tdjson#translateMessageRichMessage.

interface TranslateMessageRichMessage {
    @type: "translateMessageRichMessage";
    chat_id: number;
    message_id: number;
    to_language_code: string;
    tone: string;
}

Properties

@type: "translateMessageRichMessage"
chat_id: number

Identifier of the chat to which the message belongs.

message_id: number

Identifier of the message.

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.