Properties:
Name | Type | Description |
---|---|---|
attributes |
Object | The Channel's custom attributes |
createdBy |
String | The identity of the User that created Channel |
dateCreated |
Date | The Date Channel was created |
dateUpdated |
Date | The Date Channel was last updated |
friendlyName |
String | The Channel's name |
isPrivate |
Boolean | Whether the channel is private (as opposed to public) |
lastConsumedMessageIndex |
Number | Index of the last Message the User has consumed in Channel |
membersCount |
Number | Number of members in a channel |
messagesCount |
Number | Number of messages in a channel |
sid |
String | The Channel's unique system identifier |
status |
Channel#Status | The Channel's status |
type |
Channel#Type | The Channel's type |
uniqueName |
String | The Channel's unique name |
Methods
-
getChannel()
-
Get channel object from descriptor.
Returns:
- Type
- Promise.<Channel>