Group Channel
Group channel.
Represents a multi-user group chat channel. Supports member management, join/leave operations, group info updates, and more.
Inherits from BaseChannel and supports message querying and unread count management.
Properties
Inherited properties
Channel type
Data management info from the server-side data management service.
Draft info for an edited message.
Whether this channel contains a robot/bot user.
The latest message in this channel.
Unread count of mentioned messages (including @all).
Unread count of messages that specifically mention the current user.
Channel message push notification level.
Channel operation timestamp in milliseconds.
Channel translation strategy.
Unread message count.
Functions
Accepts a group join application (owner/admin operation).
Accepts a group invitation.
Adds group administrators.
Adds users to the group's special attention (favorites) list.
Dismisses (dissolves) this group. Only the group owner can perform this operation.
Gets the list of users in this group's special attention (favorites) list.
Maximum allowed member count for the group.
Current member count of the group.
Gets info for specified group members.
Gets unread mentioned messages in this group channel.
Invites users to join this group.
Joins this group.
Kicks members from this group.
Leaves this group.
Refuses a group join application (owner/admin operation).
Refuses a group invitation.
Removes group administrators.
Removes users from the group's special attention (favorites) list.
Maximum allowed member count for the group.
Current member count of the group.
Sets a group member's nickname and extra info within this group.
Transfers group ownership to another user.
Updates group information.
Inherited functions
Cancels a media message that is currently being sent.
Clears the text message draft for this channel.
Clears the unread message count for this channel.
Deletes this channel locally.
Deletes local messages by their client IDs.
Deletes a message for all users (recall).
Deletes messages for the current user (both remote and local).
Deletes messages before the specified timestamp (for the current user).
Removes tags from this channel.
Channel unique identifier
Channel type
Data management info from the server-side data management service.
Draft info for an edited message.
Gets the first unread message in this channel.
Whether this channel contains a robot/bot user.
The latest message in this channel.
Unread count of mentioned messages (including @all).
Unread count of messages that specifically mention the current user.
Gets read receipt info for the specified messages.
Gets messages around a given sent timestamp.
Gets read receipt details grouped by users.
Channel message push notification level.
Channel operation timestamp in milliseconds.
Gets all tags associated with this channel.
Channel translation strategy.
Unread message count.
Batch inserts messages into the local database.
Pins this channel to the top of the channel list.
Reloads channel data from the local database.
Saves a text message draft for this channel.
Sends a media message in this channel (e.g., image, video, file).
Sends a non-media message in this channel (e.g., text, location).
Sends a read receipt response for the specified messages.
Draft info for an edited message.
Sets the notification (do-not-disturb) level for this channel.
Syncs the conversation read status to the server.
Unpins this channel from the top of the channel list.
Modifies a sent message.