Nostrum.Api.get_reactions
You're seeing just the function
get_reactions
, go back to Nostrum.Api module for more information.
Specs
get_reactions(Nostrum.Struct.Channel.id(), Nostrum.Struct.Message.id(), emoji()) :: error() | {:ok, [Nostrum.Struct.User.t()]}
Gets all users who reacted with an emoji.
This endpoint requires the VIEW_CHANNEL
and READ_MESSAGE_HISTORY
permissions.
If successful, returns {:ok, users}
. Otherwise, returns Nostrum.Api.error/0
.
See create_reaction/3
for similar examples.