UserInfo

UserInfo

Returned by getUserInfo(), contains some other information than User

Constructor

new UserInfo()

Source:

Members

(nullable) avatarUrl :string

Source:
The link to the user's profile picture if they have any
Type:
  • string

(nullable) bio :string

Source:
The user's profile summary if set
Type:
  • string

(nullable) city :string

Source:
The user's city if set
Type:
  • string

connectedAccounts :Array.<ConnectedAccount>

Source:
The third-party accounts this user has connected their profile to (StackOverflow, GitHub etc.)
Type:

(nullable) country :string

Source:
The user's country code if set (e.g. "us")
Type:
  • string

(nullable) firstName :string

Source:
The user's first name if set
Type:
  • string

(nullable) lastName :string

Source:
The user's last name if set
Type:
  • string

nickname :string

Source:
The user's username
Type:
  • string

(nullable) state :string

Source:
The user's state if set
Type:
  • string

userId :number

Source:
The user's ID
Type:
  • number