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.
The HiddenState of this channel.
My invitation timestamp.
The inviter of the current user to this channel.
Readonly
isWhether this channel requires access code to join. This value is valid only if this channel is a public GroupChannel.
Readonly
isChecks whether this channel is a broadcast GroupChannel.
Readonly
isChecks whether this channel is a chat notification GroupChannel.
Readonly
isChecks whether this channel is discoverable in the result of PublicGroupChannelListQuery. If it is false, it will not appear on the result of PublicGroupChannelListQuery.
Readonly
isChecks whether this channel is a distinct GroupChannel. For a distinct GroupChannel, later when you create GroupChannel with same User and isDistinct flag being true (refer to GroupChannelModule.createChannel), the channel URL does not change, which means the messages between Users remain at the channel. If the channel is not distinct one, a new GroupChannel is created even though Users are same. As a result, you get a totally new channel URL (the old channel still remains), which means the Users start new conversation.
Whether the channel is ephemeral.
Readonly
isChecks whether this channel is an exclusive GroupChannel.
Whether the channel is frozen.
Readonly
isChecks whether this channel is a public GroupChannel.
Readonly
isReadonly
isChecks whether this channel is a super GroupChannel.
The timestamp when the current user joined.
The total joined member count for this channel.
The last message of the channel.
The last message among channel's pinned messages.
The total member count for this channel.
Member list for this channel.
This property is set when GroupChannel.resetMyHistory or GroupChannel.hide is called.
Checks whether unread message count is enabled for this channel. This count preference can be set by GroupChannel.setMyCountPreference.
Current user's last read receipt timestamp in channel.
My member state.
My muted state in this channel.
My push trigger option. The push trigger setting can be updated by GroupChannel.setMyPushTriggerOption.
My Role in this channel.
The pinned message IDs of the channel.
The total unread reply count for this channel.
The unread mention count for this channel for the current user.
The unread message count for this channel for the current user.
All locally cached metadata as a map.
Snapshot of member delivery state map.
Snapshot of member reading state map.
The creation time of the channel in milliseconds.
Indicates whether this channel includes any AI bots.
Indicates whether this channel includes any bots
Checks whether this channel is hidden.
Whether one or more members are typing.
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
accessCode: stringOptional
duration: numberOptional
description: stringCancels an ongoing FileMessage upload.
Gets push trigger option of this channel. Refer to PushTriggerOption. For details of push trigger option, refer to GroupChannel.setMyPushTriggerOption.
Gets ReadStatus for all members in this channel.
Hides this channel from the current User's GroupChannel list. When a new message is received from the channel, it appears again.
Invites Users to this channel.
Invites Users with userId
s.
Whether the instance is FeedChannel type.
Whether the instance is GroupChannel type.
Whether the instance is OpenChannel type.
Optional
accessCode: stringOptional
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 a GroupChannel instance. The instance can be restored by GroupChannelModule.buildGroupChannelFromSerializedData.
Sets push trigger option of this channel. If channel's push trigger option is set to PushTriggerOption.DEFAULT, it works according to the state of PushTriggerOption. If not, push messages will be triggered according to the state of PushTriggerOption.
Unbans User with userId
.
Unhides this channel from the current User's GroupChannel list.
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 a group channel.