WebhookEmailReadPayload constructor

WebhookEmailReadPayload({
  1. required String messageId,
  2. required String webhookId,
  3. required WebhookEmailReadPayloadEventNameEnum eventName,
  4. String? webhookName,
  5. required String emailId,
  6. required String inboxId,
  7. required bool emailIsRead,
  8. required DateTime createdAt,
})

Returns a new WebhookEmailReadPayload instance.

Implementation

WebhookEmailReadPayload({
  required this.messageId,
  required this.webhookId,
  required this.eventName,
  this.webhookName,
  required this.emailId,
  required this.inboxId,
  required this.emailIsRead,
  required this.createdAt,
});