bn.getUserProfile
▸ getUserProfile(): Promise
<UserProfileResponse
>
description
Get user information. The page generates a click event(such as button). Each request will pop up an authorization window after the user agrees to return userInfo
example
Returns
Promise
<UserProfileResponse
>
UserProfileResponse
#
UserProfileResponseƬ UserProfileResponse: Object
Type declaration
Name | Type |
---|---|
userInfo | UserInfo |
#
UserInfoƬ UserInfo: Object
Type declaration
Name | Type | Description |
---|---|---|
nickName | string | User's Nickname |
avatarUrl | string | The URL of the user's avatar picture. |