The Profile
class provides methods to interact with user profiles in the HandCash Connect SDK.
Field | Type | Description |
---|---|---|
publicProfile | UserPublicProfile | Public information about the user |
privateProfile | UserPrivateProfile | Private information about the user |
handles
: An array of user handles.Field | Type | Description |
---|---|---|
id | string | Unique identifier for the user |
handle | string | User’s HandCash handle |
paymail | string | User’s paymail address |
displayName | string | User’s display name |
avatarUrl | string | URL of the user’s avatar image |
createdAt | Date | Date when the profile was created |
FRIENDS
permission.
Field | Type | Description |
---|---|---|
(Same as UserPublicProfile) |
Field | Type | Description |
---|---|---|
items | Permission[] | Array of Permission enum values |
appId | string | Unique identifier for the app |
UserProfile
: Combines public and private profile information.UserPublicProfile
: Contains publicly accessible user information.UserPrivateProfile
: Contains private user information.PermissionInfo
: Contains permissions and app ID.