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

TD.Query.SetUserNote

Synopsis

Documentation

data SetUserNote Source #

Changes a note of a contact user. Returns Ok

Constructors

SetUserNote 

Fields

  • user_id :: Maybe Int

    User identifier

  • note :: Maybe FormattedText

    Note to set for the user; 0-getOption("user_note_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed