Get Reactions¶
-
ORCAcode discord_get_reactions(struct discord *client, u64_snowflake_t channel_id, u64_snowflake_t message_id, u64_snowflake_t emoji_id, const char emoji_name[], struct discord_get_reactions_params *params, struct discord_user ***ret)¶
Get a list of users that reacted with given emoji.
- Parameters
client – the client created with discord_init()
channel_id – the channel that the message belongs to
message_id – the message reacted to
emoji_id – the emoji id (leave as 0 if not a custom emoji)
emoji_name – the emoji name
params – request parameters
ret – if successful, a null-terminated list of discord_user, that should be free’d with
discord_user_list_free()
- Returns
ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary
Warning
doxygenstruct: Cannot find class “discord_get_reactions_params” in doxygen xml output for project “Orca” from directory: ../xml