Data
@Serializable
Represents the data payload within a ResendWebhookMsg.
Contains details about the email event such as sender, recipients, and optional bounce or click information. Every field Resend documents as optional, or that only some event types carry, is nullable. Decode with ResendWebhookMsg.decode so fields Resend adds later are ignored rather than failing the whole payload.
Constructors
Link copied to clipboard
constructor(createdAt: String, emailId: String, from: String, subject: String? = null, to: List<String>? = null, headers: List<Header>? = null, bounce: Bounce? = null, click: Click? = null, tags: Map<String, String>? = null, broadcastId: String? = null, messageId: String? = null, templateId: String? = null)