Skip to main content

react_add

Function react_add 

Source
pub async fn react_add(
    client: &ApiClient,
    channel: String,
    timestamp: String,
    name: String,
) -> Result<ApiResponse, ApiError>
Expand description

Add a reaction to a message

§Arguments

  • client - API client
  • channel - Channel ID
  • timestamp - Message timestamp
  • name - Emoji name (without colons, e.g., “thumbsup”)

§Returns

  • Ok(ApiResponse) with reaction confirmation
  • Err(ApiError) if the operation fails