A phone contact

Constructors

Properties

type: "contact" = ...

Accessors

  • get firstName(): string
  • Contact's first name

    Returns string

  • get lastName(): string
  • Contact's last name

    Returns string

  • get phoneNumber(): string
  • Contact's phone number

    Returns string

  • get userId(): number
  • Contact's user ID in Telegram or 0 if not available

    Returns number