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

TD.Query.EditTextCompositionStyle

Synopsis

Documentation

data EditTextCompositionStyle Source #

Edits a custom text composition style that was created by the current user. Returns TextCompositionStyle

Constructors

EditTextCompositionStyle 

Fields

  • name :: Maybe Text

    Name of the style

  • title :: Maybe Text

    Title of the style; 1-getOption("text_composition_style_title_length_max") characters

  • custom_emoji_id :: Maybe Int

    Identifier of the custom emoji corresponding to the style

  • prompt :: Maybe Text

    Prompt that will be used for text composition; 1-getOption("text_composition_style_prompt_length_max") characters

  • show_creator :: Maybe Bool

    Pass true if the current user must be shown as the creator of the style