addReaction

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

Add reaction

Return

The reaction event

Since

4.15.0

Parameters

message

The message to add reaction

key

The reaction key to add


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

Add reaction

Since

4.15.0

Parameters

message

The message to add reaction

key

The key of the reaction

handler

The handler for the result