diff --git a/webhook.go b/webhook.go index 83a26a00..122d9956 100644 --- a/webhook.go +++ b/webhook.go @@ -28,8 +28,10 @@ type IncidentDetails struct { ResolveReason *string `json:"resolve_reason"` AlertCounts AlertCounts `json:"alert_counts"` Metadata interface{} `json:"metadata"` - Description string `json:"description"` Alerts []IncidentAlert `json:"alerts,omitempty"` + + // Description is deprecated, use Title instead. + Description string `json:"description"` } // WebhookPayloadMessages is the wrapper around the Webhook payloads. The Array may contain multiple message elements if webhook firing actions occurred in quick succession