omnix-sopiga/services/omnix-broadcast/dto/webhook.go

10 lines
388 B
Go
Raw Permalink Normal View History

2026-08-07 12:21:42 +07:00
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
}