Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UpdatableNotificationTemplateList

Simple template that can render a list of name-value pairs.

Hierarchy

Index

Properties

Optional buttons

buttons: ButtonOptions[]

A list of buttons to display below the notification text.

Notifications support up to four buttons. Attempting to add more than four will result in the notification being rejected by the service.

Optional customData

customData: CustomData

Application-defined context data that can be attached to buttons on notifications.

When using forms, form data submitted will be written to customData and returned to your app by listening to the submit notification-action with the trigger {@link ActionTrigger.SUBMIT|submit}.

id

id: string

A unique identifier for the notification.

Mandatory field for Notification updates.

Optional list

list: Record<string, string>

Notification list template data.

Optional template

template: "list"

description of update type 'markdown', 'list' or 'custom'

Generated using TypeDoc