Constructor
new Member()
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
remove()
Remove this Member from the Channel.
Returns:
Promise
Events
typingEnded
Fired when member ended to type
Type:
typingStarted
Fired when member started to type
Type:
updated
Fired when member is updated