Instance Method

deleteReaction(_:from:by:in:then:)

Deletes a reaction from a message by user

Declaration

func deleteReaction(_ reaction: String, from messageId: Snowflake, by userId: Snowflake? = nil, in channelId: Snowflake, then completion: ((RequestError?) -> Void)? = nil)

Parameters

reaction

Unicode or custom emoji to delete

messageId

Message to delete reaction from

userId

If nil, deletes bot’s reaction from, else delete a reaction from user

channelId

Channel to delete reaction from