pub async fn delete_user_reaction(
client: &Client,
token: &str,
channel_id: &str,
message_id: &str,
emoji: &str,
user_id: &str,
) -> Result<(), Box<dyn Error>>
Expand description
Deletes a user’s reaction to 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 remove the reaction from.emoji
- The emoji to remove.user_id
- The ID of the user whose reaction to remove.
§Returns
A result indicating success or failure.