WebhookBouncePayload constructor

WebhookBouncePayload({
  1. required String messageId,
  2. required String webhookId,
  3. required WebhookBouncePayloadEventNameEnum eventName,
  4. String? webhookName,
  5. required String bounceId,
  6. List<String>? sentToRecipients = const [],
  7. required String sender,
  8. List<String>? bounceRecipients = const [],
})

Returns a new WebhookBouncePayload instance.

Implementation

WebhookBouncePayload({
  required this.messageId,
  required this.webhookId,
  required this.eventName,
  this.webhookName,
  required this.bounceId,
  this.sentToRecipients = const [],
  required this.sender,
  this.bounceRecipients = const [],
});