pub async fn get_reactions(
client: &Client,
token: &str,
channel_id: &str,
message_id: &str,
) -> Result<Value, Box<dyn Error>>Expand description
Gets all reactions for a message.
§Arguments
client- The HTTP client used to send the request.token- The bot token for authentication.channel_id- The ID of the channel where the message is located.message_id- The ID of the message to get reactions for.
§Returns
A result containing the reactions as a JSON value.