MessagesReactions

Add, delete, and subscribe to message reactions.

Types

Link copied to clipboard
fun interface Listener

An interface for listening to new messaging reaction event

Link copied to clipboard

An interface for listening to new messaging reaction event

Functions

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 MessagesReactions.delete(message: Message, name: String? = null, type: MessageReactionType? = null)
Link copied to clipboard
abstract suspend fun send(messageSerial: String, name: String, type: MessageReactionType? = null, count: Int? = null)

Sends a reaction to a specific message.

Link copied to clipboard
suspend fun MessagesReactions.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.