Notification

class notifications.Notification(message: str = None, url: str = None, actions: dict = None)

A class representing a notification.

actions: dict = None

Additional actions on the notification.

A dictionary with the name of the action and the URL to open.

message: str = None

The body of the notification.

url: str = None

The URL to open when the notification is opened.