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

TD.Data.ImportedContact

Documentation

data ImportedContact Source #

Constructors

ImportedContact

Describes a contact to import

Fields

  • phone_number :: Maybe Text

    Phone number of the user

  • first_name :: Maybe Text

    First name of the user; 1-64 characters

  • last_name :: Maybe Text

    Last name of the user; 0-64 characters

  • note :: Maybe FormattedText

    Note to add about the user; 0-getOption("user_note_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed; pass null to keep the current user's note