Constructors

Properties

_peers?: PeersIndex

Accessors

  • get actionBar(): null | ChatActionBar
  • Action bar that should be displayed in the chat with the user

    Returns null | ChatActionBar

  • get geoDistance(): null | number
  • Distance in meters between us and the user

    Returns null | number

  • get nameChangeDate(): null | Date
  • Date when the user has last changed their name. Only available for users who contacted us first.

    Returns null | Date

  • get paidMessagePrice(): null | Long
  • Price of paid messages to this peer for the current user (note that this might differ from User.paidMessagePrice, because the user might have added us to their contacts or wrote first, in which case the messages are free regardless)

    Returns null | Long

  • get phoneCountry(): null | string
  • ISO country code of the user's phone number. Only available for users who contacted us first.

    Returns null | string

  • get photoChangeDate(): null | Date
  • Date when the user has last changed their photo. Only available for users who contacted us first.

    Returns null | Date

  • get registrationDate(): null | string
  • Month and year when the user registered. Only available for users who contacted us first.

    Returns null | string