Skip to content

translateMessageRichMessage

Function · TDLib 1.8.67 · d1085f9c

Extracts rich message of the given message and translates it to the given language

translateMessageRichMessage(
  chat_id: int53,
  message_id: int53,
  to_language_code: string,
  tone: string
) → RichMessage

chat_id

int53

Identifier of the chat to which the message belongs

message_id

int53

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