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
action_id- Selected action'sNotificationAction.id.input- Text entered through the action's reply input, orNonewhen there is none.
Properties
inputclass-attributeinstance-attribute
input: str | None = NoneText 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.