omnix-sopiga/dto/webhook.go
2026-08-07 12:36:57 +07:00

10 lines
388 B
Go

package dto
// DeliveryStatusWebhook is the confirmed contract for an inbound Omnix
// callback when a recipient's delivery status changes.
type DeliveryStatusWebhook struct {
RecipientDetailID int64 `json:"recipient_detail_id"`
Status string `json:"status"` // pending, sent, delivered, read, failed
Gateway string `json:"gateway"` // sender WhatsApp number
}