deleteReaction

fun BaseChannel.deleteReaction(message: BaseMessage, key: String, handler: ResultHandler<ReactionEvent>?)

Delete reaction

Since

4.15.0

Parameters

message

The message to delete reaction

key

The key of the reaction

handler

The handler for the result


suspend fun BaseChannel.deleteReaction(message: BaseMessage, key: String): ReactionEvent

Deprecated

As of 4.17.0, replaced with awaitDeleteReaction(message, key).

Replace with

awaitDeleteReaction(message, key)

Delete reaction

Return

The reaction event

Since

4.15.0

Parameters

message

The message to delete reaction

key

The reaction key to delete