Classes
Methods
# setAvatar(avatar) → {void}
Set the avatar of a user locally.
Parameters:
Name | Type | Description |
---|---|---|
avatar |
string
|
The avatar base64 string |
void
# setFromJSON(useropt) → {void}
Set the user info from a JSON object
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
user |
User
|
<optional> |
{} |
void