Message Reactions
interface MessageReactions
Add, delete, and subscribe to message reactions.
Not suitable for inheritance
This interface is not designed for implementation or extension outside this SDK. The interface definition may evolve over time with additional properties or methods to support new features, which could break implementations.
Functions
Link copied to clipboard
Link copied to clipboard
abstract suspend fun clientReactions(messageSerial: String, clientId: String? = null): MessageReactionSummary
Get the reaction summary for a message filtered by a particular client.
Link copied to clipboard
abstract suspend fun delete(messageSerial: String, name: String? = null, type: MessageReactionType? = null)
Delete a message reaction
Link copied to clipboard
suspend fun MessageReactions.delete(message: Message, name: String? = null, type: MessageReactionType? = null)
Link copied to clipboard
suspend fun MessageReactions.send(message: Message, name: String, type: MessageReactionType? = null, count: Int = 1)
Link copied to clipboard
Subscribe to message reaction summaries. Use this to keep message reaction counts up to date efficiently in the UI.
Link copied to clipboard
Subscribe to individual reaction events. If you only need to keep track of reaction counts and clients, use subscribe() instead.