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

TD.Query.TranslateMessageRichMessage

Synopsis

Documentation

data TranslateMessageRichMessage Source #

Extracts rich message of the given message and translates it to the given language. Returns RichMessage

Constructors

TranslateMessageRichMessage 

Fields

  • chat_id :: Maybe Int

    Identifier of the chat to which the message belongs

  • message_id :: Maybe Int

    Identifier of the message

  • to_language_code :: Maybe Text

    Language code of the language to which the message is translated. See translateText.to_language_code for the list of supported values

  • tone :: Maybe Text

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