Unicode or custom emoji to delete
Instance Method
deleteReaction(_:from:by:then:)
Deletes a reaction from message by user
Declaration
func deleteReaction(_ reaction: String, from messageId: Snowflake, by userId: Snowflake? = nil, then completion: ((RequestError?) -> Void)? = nil)
Parameters
reaction
-
messageId
-
Message to delete reaction from
userId
-
If nil, deletes bot’s reaction from, else delete a reaction from user