Interface SummarizeMessage

Summarizes content of the message with non-empty summary_language_code. Request type for Tdjson#summarizeMessage.

interface SummarizeMessage {
    @type: "summarizeMessage";
    chat_id: number;
    message_id: number;
    translate_to_language_code: string;
}

Properties

@type: "summarizeMessage"
chat_id: number

Identifier of the chat to which the message belongs.

message_id: number

Identifier of the message.

translate_to_language_code: string

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