WebhookDeliveryStatusPayload constructor

WebhookDeliveryStatusPayload({
  1. required String messageId,
  2. required String webhookId,
  3. required WebhookDeliveryStatusPayloadEventNameEnum eventName,
  4. String? webhookName,
  5. required String id,
  6. required String userId,
  7. String? sentId,
  8. String? remoteMtaIp,
  9. String? inboxId,
  10. String? reportingMta,
  11. List<String>? recipients = const [],
  12. String? smtpResponse,
  13. int? smtpStatusCode,
  14. int? processingTimeMillis,
  15. DateTime? received,
  16. String? subject,
})

Returns a new WebhookDeliveryStatusPayload instance.

Implementation

WebhookDeliveryStatusPayload({
  required this.messageId,
  required this.webhookId,
  required this.eventName,
  this.webhookName,
  required this.id,
  required this.userId,
  this.sentId,
  this.remoteMtaIp,
  this.inboxId,
  this.reportingMta,
  this.recipients = const [],
  this.smtpResponse,
  this.smtpStatusCode,
  this.processingTimeMillis,
  this.received,
  this.subject,
});