Skip to main content

NotificationActionEvent

The user selected one of a notification's action buttons.

Delivered to Notifications.on_action.

Note

On Windows, the inherited data mapping contains reply values keyed by NotificationAction.id. See Notifications.on_action for how to read them.

Inherits: NotificationEvent

Properties

Properties​

action_idinstance-attribute​

action_id: str

Selected action's NotificationAction.id.

inputclass-attributeinstance-attribute​

input: str | None = None

Text entered through the action's reply input, or None when there is none.

Note

On Windows, contains the reply text when exactly one input value is returned. All reply values remain available in the inherited data mapping, keyed by NotificationAction.id.