AboutSupportDeveloper GuideVersion 22.3.18

Event fired whenever a new notification has been created.

"notification-created"

interface NotificationCreatedEvent {
    notification: Readonly<Required<Omit<TemplateMarkdown, "buttons"> | Omit<TemplateList, "buttons"> | Omit<TemplateCustom, "buttons">> & {
        buttons: readonly Required<ButtonOptions>[];
    }>;
    type: "notification-created";
}

Properties

Properties

notification: Readonly<Required<Omit<TemplateMarkdown, "buttons"> | Omit<TemplateList, "buttons"> | Omit<TemplateCustom, "buttons">> & {
    buttons: readonly Required<ButtonOptions>[];
}>

The notification that has just been created.

This object will match what is returned from the create call.

type