Function delete_all_reactions

Source
pub async fn delete_all_reactions(
    client: &Client,
    token: &str,
    channel_id: &str,
    message_id: &str,
) -> Result<(), Box<dyn Error>>
Expand description

Deletes 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 delete reactions from.

§Returns

A result indicating success or failure.