Properties:
Name | Type | Description |
---|---|---|
channel |
Channel | The Channel the remote Client is a Member of. |
identity |
String | The identity of the remote Client. |
isTyping |
Boolean | Whether or not this Member is currently typing. |
lastConsumedMessageIndex |
Number | Latest consumed Message index by this Member. |
lastConsumptionTimestamp |
Date | Date when Member has updated his consumption horizon. |
sid |
String | The server-assigned unique identifier for the Member. |
Fires:
Methods
-
getUser()
-
Gets User for this member and subscribes to it
Returns:
- Type
- Promise.<User>
-
getUserDescriptor()
-
Gets User Descriptor for this member
Returns:
- Type
- Promise.<UserDescriptor>
-
remove()
-
Remove this Member from the Channel.
Returns:
Promise