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

TD.Data.TextCompositionParameters

Documentation

data TextCompositionParameters Source #

Constructors

TextCompositionParameters

Describes parameters of text composition with AI

Fields

  • translate_to_language_code :: Maybe Text

    Language code to which the text will be translated; may be empty if none. See translateText.to_language_code for the list of supported values

  • style_name :: Maybe Text

    Name of the style of the resulting text; may be empty if none. Handle updateTextCompositionStyles to get the list of supported styles

  • add_emojis :: Maybe Bool

    True, if emoji will be added to the text

  • fix_text :: Maybe Bool

    True, if the text will be fixed in the same way as by fixTextWithAi