NotificationEvent
The user selected a notification.
Delivered to Notifications.on_tap. Action buttons deliver
NotificationActionEvent instead. The inherited
control is the service that emitted the event.
Inherits: Event
Properties
Properties
idclass-attributeinstance-attribute
id: int | None = NoneIdentifier of the notification, or None when the platform reports none.
payloadclass-attributeinstance-attribute
payload: str | None = NoneApplication payload supplied when the notification was created.
None when the notification has no payload. The service does not interpret the
payload; the application can use it for routing or identifying an item.