delete

abstract suspend fun delete(messageSerial: String, name: String? = null, type: MessageReactionType? = null)

Delete a message reaction

Parameters

messageSerial

The message serial to remove the reaction from

name

The reaction name to delete; ie. the emoji. Required for all reaction types except MessageReactionType.Unique.

type

The type of reaction, must be one of MessageReactionType. If not set, the default type will be used which is configured in the MessageOptions.defaultMessageReactionType of the room.