ProviderSendNotificationDTO

The details of the notification to send.

Properties#

tostring
The recipient of the notification. It can be email, phone number, or username, depending on the channel.
channelstring
The channel through which the notification is sent, such as 'email' or 'sms'
templatestring
The template name in the provider's system.
fromnull | stringOptional
The sender of the notification. It can be email, phone number, or username, depending on the channel.
attachmentsnull | Attachment[]Optional
Optional attachments for the notification.
datanull | Record<string, unknown>Optional
The data that gets passed over to the provider for rendering the notification.
contentnull | NotificationContentOptional
The content that gets passed to the provider.
Was this page helpful?
Edit this page