Skip to content

summarizeMessage

Function · TDLib 1.8.67 · d1085f9c

Summarizes content of the message with non-empty summary_language_code

summarizeMessage(
  chat_id: int53,
  message_id: int53,
  translate_to_language_code: string,
  tone: string
) → FormattedText

chat_id

int53

Identifier of the chat to which the message belongs

message_id

int53

Identifier of the message

translate_to_language_code

string

Pass a language code to which the summary will be translated; pass an empty string if translation isn't needed. See translateText.to_language_code for the list of supported values

tone

string

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