use apialerts::ApiAlerts;
let client = ApiAlerts::new("YOUR-API-KEY");
// Simple notification
client.send("Deployment successful").await;
// With all options
client.send_event(Event {
message: "New user signed up".to_string(),
channel: Some("developers".to_string()),
link: Some("https://dashboard.example.com/users/123".to_string()),
tags: Some(vec!["signup".to_string(), "organic".to_string()]),
}).await;