Interface NotificationResponseEvent

Event fired when the user initiates a notification response.

interface NotificationResponseEvent {
    actionId?: string;
    isForeground: boolean;
    pushPayload: PushPayload;
}

Properties

actionId?: string

The action button ID, if available.

isForeground: boolean

Indicates whether the response was a foreground action. This value is always if the user taps the main notification, otherwise it is defined by the notification action button.

pushPayload: PushPayload

The push notification.