platypush.message.event.gotify

class platypush.message.event.gotify.GotifyEvent(target=None, origin=None, id=None, timestamp=None, disable_logging=False, disable_web_clients_notification=False, **kwargs)[source]

Gotify base event.

class platypush.message.event.gotify.GotifyMessageEvent(*args, message: str, title: Optional[str] = None, priority: Optional[int] = None, extras: Optional[dict] = None, date: Optional[str] = None, id: Optional[int] = None, appid: Optional[int] = None, **kwargs)[source]

Event triggered when a message is received on the Gotify instance.

__init__(*args, message: str, title: Optional[str] = None, priority: Optional[int] = None, extras: Optional[dict] = None, date: Optional[str] = None, id: Optional[int] = None, appid: Optional[int] = None, **kwargs)[source]
Parameters
  • message – Message body.

  • title – Message title.

  • priority – Message priority.

  • extras – Message extra payload.

  • date – Delivery datetime.

  • id – Message ID.

  • appid – ID of the sender application.