Instance Method

deleteReaction(_:from:then:)

Deletes reaction from self

Declaration

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

Parameters

reaction

Either unicode or custom emoji reaction to remove

userId

If nil, delete from self else delete from userId