Constructor
new Member(jsonObjectopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
jsonObject |
Object |
<optional> |
Extends
Members
(static) INVITED :string
- Default Value:
- "invited"
Type:
- string
(static) JOINED :string
- Default Value:
- "joined"
Type:
- string
connectionStatus :string
- Overrides:
- Default Value:
- ""
Type:
- string
friendDiscoveryKey :null
- Overrides:
- Default Value:
- null
Type:
- null
(nullable) friendName :string
- Overrides:
- Default Value:
- null
Type:
- string
isActive :boolean
- Overrides:
- Default Value:
- true
Type:
- boolean
isBlockedByMe :boolean
- Default Value:
- false
Type:
- boolean
isBlockingMe :boolean
- Default Value:
- false
Type:
- boolean
isMuted :boolean
- Default Value:
- false
Type:
- boolean
(nullable) lastSeenAt :number
- Overrides:
- Default Value:
- null
Type:
- number
metaData :Object
- Overrides:
- Default Value:
- {}
- See:
Type:
- Object
nickname :string
- Overrides:
- Default Value:
- ""
Type:
- string
plainProfileUrl :string
- Overrides:
- Default Value:
- ""
Type:
- string
preferredLanguages
- Overrides:
(nullable) requireAuth :boolean
- Overrides:
- Default Value:
- false
Type:
- boolean
role :string
- Default Value:
- ""
Type:
- string
state :string
- Default Value:
- ""
Type:
- string
userId :string
- Overrides:
- Default Value:
- ""
Type:
- string
Methods
(static) buildFromSerializedData(serializedObject) → {Object}
Parameters:
Name | Type | Description |
---|---|---|
serializedObject |
Object |
Returns:
- Type
- Object
createMetaData(metaData, callbackopt, nullable) → {Promise|undefined}
- Overrides:
- See:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
metaData |
Object | ||
callback |
commonCallback |
<optional> <nullable> |
Returns:
- Type
- Promise | undefined
deleteAllMetaData(callbackopt, nullable) → {Promise|undefined}
- Overrides:
- See:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
callback |
commonCallback |
<optional> <nullable> |
Returns:
- Type
- Promise | undefined
deleteMetaData(metaDataKey, callbackopt, nullable) → {Promise|undefined}
- Overrides:
- See:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
metaDataKey |
string | ||
callback |
commonCallback |
<optional> <nullable> |
Returns:
- Type
- Promise | undefined
getOriginalProfileUrl() → {string}
- Overrides:
Returns:
- Type
- string
serialize() → {Object}
- Overrides:
Returns:
- frozen representation of current object
- Type
- Object
updateMetaData(metaData, upsertopt, callbackopt, nullable) → {Promise|undefined}
- Overrides:
- See:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
metaData |
Object | |||
upsert |
boolean |
<optional> |
false
|
|
callback |
commonCallback |
<optional> <nullable> |
Returns:
- Type
- Promise | undefined