haskell-tdlib-2.1.16.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SummarizeMessage

Synopsis

Documentation

data SummarizeMessage Source #

Summarizes content of the message with non-empty summary_language_code. Returns FormattedText

Constructors

SummarizeMessage 

Fields

  • chat_id :: Maybe Int

    Identifier of the chat to which the message belongs

  • message_id :: Maybe Int

    Identifier of the message

  • translate_to_language_code :: Maybe Text

    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 :: Maybe Text

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