Nostrum.Api.delete_reaction
You're seeing just the function
delete_reaction
, go back to Nostrum.Api module for more information.
Specs
delete_reaction( Nostrum.Struct.Channel.id(), Nostrum.Struct.Message.id(), emoji() ) :: error() | {:ok}
Deletes all reactions of a given emoji from a message.
This endpoint requires the MANAGE_MESSAGES
permissions. It fires a Nostrum.Consumer.message_reaction_remove_emoji/0
event.
If successful, returns {:ok}
. Otherwise, returns Nostrum.Api.error/0
.
See create_reaction/3
for similar examples.