Skip to main content

send_webhook_alert

Function send_webhook_alert 

Source
pub async fn send_webhook_alert(
    http: &Client,
    url: &str,
    title: &str,
    message: &str,
    alert: &Value,
)
Expand description

Best-effort webhook alert send: {text, content, alert} so both Slack/Discord framing and the structured payload ride one URL. alert is the full JSON carrier (embedded under "alert").