Skip to main content

ActiveNotification

Snapshot of a delivered notification that has not been removed.

Returned by Notifications.get_active. Availability of individual fields depends on the platform; unavailable values are None. Modifying this object does not change the notification.

Properties

  • big_text - Expanded Android big-text content, or None when unavailable.
  • body - Displayed body text, or None when unavailable.
  • channel_id - Android notification-channel ID, or None when unavailable.
  • group_key - Android AndroidGroup.key, or None when unavailable.
  • id - Native notification identifier, or None when unavailable.
  • payload - Application payload when returned by the platform, otherwise None.
  • tag - Android notification tag, or None when unavailable.
  • title - Displayed title, or None when unavailable.

Properties​

big_textclass-attributeinstance-attribute​

big_text: str | None = None

Expanded Android big-text content, or None when unavailable.

bodyclass-attributeinstance-attribute​

body: str | None = None

Displayed body text, or None when unavailable.

channel_idclass-attributeinstance-attribute​

channel_id: str | None = None

Android notification-channel ID, or None when unavailable.

group_keyclass-attributeinstance-attribute​

group_key: str | None = None

Android AndroidGroup.key, or None when unavailable.

idclass-attributeinstance-attribute​

id: int | None = None

Native notification identifier, or None when unavailable.

payloadclass-attributeinstance-attribute​

payload: str | None = None

Application payload when returned by the platform, otherwise None.

tagclass-attributeinstance-attribute​

tag: str | None = None

Android notification tag, or None when unavailable.

titleclass-attributeinstance-attribute​

title: str | None = None

Displayed title, or None when unavailable.