WebhookNewEmailPayload constructor
WebhookNewEmailPayload({
- required String messageId,
- required String webhookId,
- required WebhookNewEmailPayloadEventNameEnum eventName,
- String? webhookName,
- required String inboxId,
- String? domainId,
- required String emailId,
- required DateTime createdAt,
- List<
String> to = const [], - required String from,
- List<
String> cc = const [], - List<
String> bcc = const [], - String? subject,
- List<
AttachmentMetaData> attachmentMetaDatas = const [],
Returns a new WebhookNewEmailPayload instance.
Implementation
WebhookNewEmailPayload({
required this.messageId,
required this.webhookId,
required this.eventName,
this.webhookName,
required this.inboxId,
this.domainId,
required this.emailId,
required this.createdAt,
this.to = const [],
required this.from,
this.cc = const [],
this.bcc = const [],
this.subject,
this.attachmentMetaDatas = const [],
});