The cover image URL.
A User who created the channel. null
if it's created by system.
The custom type of the channel.
The channel data.
Whether the channel is ephemeral.
Whether the channel is frozen.
The last message among channel's pinned messages.
The operators of the channel.
The total number of participants in this channel.
The pinned message IDs of the channel.
All locally cached metadata as a map.
The creation time of the channel in milliseconds.
The local timestamp of when this channel has been used in a MessageCollection.
The topic or name of the channel.
The unique channel URL.
Optional
duration: numberOptional
description: stringCancels an ongoing FileMessage upload.
Whether the instance is FeedChannel type.
Whether the instance is GroupChannel type.
Whether the instance is OpenChannel type.
Optional
duration: numberOptional
description: stringMutes a User with userId
. A muted user cannot send a message.
[UserMessage], [FileMessage] or [MultipleMessage]
Optional
file: FileCompatOptional
file: FileCompatSends a multiple files or file URLs as a single MultipleFilesMessage.
Serializes the OpenChannel instance. The instance can be restored by OpenChannelModule.buildOpenChannelFromSerializedData.
Unbans User with userId
.
Unmutes User with userId
. The unmuted user could send a message again.
Updates fields of this poll with given params. Once updated successfully, a non-null Poll instance will be passed to the result.
Updates a UserMessage that was previously sent in the channel.
Description
Represents an open channel.