Feed Channel
Properties
All locally cached metadata as a map. Cached metadata is updated under following circumstances:
Weather the category filter is enabled or not.
Whether the channel is ephemeral.
Whether the instance is FeedChannel type.
Whether the instance is GroupChannel type.
Whether the instance is OpenChannel type.
Weather the template label is enabled or not.
The last message of the channel.
The last message among channel's pinned messages.
The total member count for this channel.
The local timestamp of when this channel has been used in a MessageCollection.
Current user's last read receipt timestamp in channel.
My member state.
The list of notification categories.
The pinned message ids of the channel.
The unread message count for this channel for the current User.
Functions
Adds message meta array values.
Add operators to the channel. See [
Adds an option with optionText to this poll. Once added successfully, a non-null Poll instance will be passed to the PollHandler.
Adds Reaction
.
Cancels an ongoing FileMessage
upload.
Copies a file message from this channel to the target channel.
Copies a user message from this channel to the target channel.
Creates a query instance to get the banned user list from this channel.
Creates message meta array keys.
Creates meta counters. This can be used to customize the channel.
Creates meta data. This can be used to customize the channel.
Creates a query instance to get the muted user (online and offline both) list of this channel.
Creates NotificationCollection instance for this channel.
Creates a query instance to get the operator list from this channel.
Creates a query instance to get the poll list from this channel.
Creates a query instance to get the voters of a poll option.
Creates previous message list query for this channel.
Decreases meta counters. This decreases atomically the keyed meta counter by the specified value.
Deletes all meta counters.
Deletes all meta data.
Deletes a message.
Deletes a message with message ID. To delete message in OpenChannel with ephemeral mode, use deleteMessage with BaseMessage object instead.
Deletes message meta array keys.
Deletes a meta counter.
Deletes a meta data.
Deletes this poll. Once deleted successfully, a null
will be passed to the handler as the error.
Deletes this poll option. Once deleted successfully, a null
will be passed to the handler as error.
Deletes Reaction
.
Get all meta counters.
Gets all meta data.
Requests message change logs after given timestamp. The result is passed to handler
.
Requests message change logs after given token. The result is passed to handler
.
Retrieves previous or next messages based on the message ID in a specific channel. The result is passed to handler
as list
.
Retrieves previous or next messages based on the timestamp in a specific channel. The result is passed to handler
as list
.
Gets meta counters.
Gets meta data.
Gets my muted information in this channel.
Requests poll change logs after given timestamp. The result is passed to handler
.
Requests poll change logs after given token. The result is passed to handler
.
Increases meta counters. This increases atomically the keyed meta counter by the specified value.
Logging clicked message stat for statistics.
Logging impression for statistics. Limitation: LOG_VIEWED_LIMIT messages at once.
Logging viewed messages for statistics. Limitation: LOG_VIEWED_LIMIT messages at once.
Sends mark as read to this channel with a CompletionHandler.
Sends mark as read given messages with a CompletionHandler. Only FeedChannel messages are allowed.
Pins a message to the channel.
Refreshes all the data of this channel.
Remove all operators from the channel. See https://docs.sendbird.com/platform/user_type#3_operator for the explanations on the operators.
Removes message meta array values.
Remove operators from the channel. See [
Reports this channel of inappropriate activities.
Reports a malicious message.
Reports a user of suspicious activities.
Reports this channel of inappropriate activities.
Resends a file with given file information.
Resends a file with given file information and gets callback for uploading progress.
Resends a file message. File information is used from the failed message.
Resends a failed user message.
Resends a file with given file information.
Resends a file with given file information and gets callback for uploading progress.
Resends a failed user message.
Sends a file with given file information.
Sends a file with given file information and gets callback for uploading progress.
Sends files with given files information. The maximum number of files is 20.
Sends files with given files information and gets callback for uploading progress. The maximum number of files is 20. This method handles FileMessageCreateParams only which have set binary file not URL.
Sends a user message.
Serializes the GroupChannel
or OpenChannel
instance. This byte array can be stored in the database in your application. The instance can be restored by buildFromSerializedData.
Translates a user message.
Removes the message from the channel's pinned messages.
Updates a FileMessage
that was previously sent in the channel. Note that the file itself cannot be changed; only the fields stored within the message can be modified.
Updates meta counters.
Updates meta data.
Updates optionText fields of this poll option. Once updated successfully, a non-null PollOption instance will be passed to the handler.
Updates a UserMessage
that was previously sent in the channel.
Vote on pollOptionIds. This operation overrides previous vote actions, so to update previous vote, pass new pollOptionIds as parameter. To cancel votes, pass an empty list as pollOptionIds.