Skip to content

ImportedContact

Type · TDLib 1.8.67 · d1085f9c

Describes a contact to import

ImportedContact(
  phone_number: string,
  first_name: string,
  last_name: string,
  note: FormattedText
) → ImportedContact

phone_number

string

Phone number of the user

first_name

string

First name of the user; 1-64 characters

last_name

string

Last name of the user; 0-64 characters

note

FormattedText

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