NotificationButton

NotificationButton

# new NotificationButton(buttonMap)

Creates a new Notification instance from the provider parameters.
Parameters:
Name Type Description
buttonMap Object Notification parameters
Properties
Name Type Description
actionId stirng Action ID
title string Title

Methods

# (static) create(title, actionId) → {NotificationButton}

Create a new notification button.
Parameters:
Name Type Description
title string Button title.
actionId string Action ID. Could be one #CONSUME_ACTION, #IGNORE_ACTION or custom action.
Returns:
New instance.
Type
NotificationButton