Class: ChannelDescriptor

ChannelDescriptor

Contains channel information. Unlike Channel, this information won't be updated in realtime. To have a fresh data, user should query channel descriptors again.

Properties:
Name Type Description
sid String Channel sid
uniqueName String Channel unique name
friendlyName String The Channel's name.
createdBy String Identity of the User that created this Channel.
dateCreated Date Date this Channel was created.
dateUpdated Date Date this Channel was last updated.
attributes Object Channel's custom attributes.
messagesCount Integer Number of messages in a channel
membersCount Integer Number of memembers in a channel

Methods


getChannel()

Get channel object from descriptor
Returns:
Promise