Skip to content

PushNotificationPreferences

Source code in docs_src/capo_chime_sdk_messaging/types/push_notification_preferences.py
class PushNotificationPreferences(TypedDict, closed=True):
    allow_notifications: (
        "capo_chime_sdk_messaging.types.allow_notifications.AllowNotifications"
    )
    """<p>Enum value that indicates which push notifications to send to the requested member of a channel. <code>ALL</code> sends all push notifications, <code>NONE</code> sends no push notifications, <code>FILTERED</code> sends only filtered push notifications. </p>"""
    filter_rule: NotRequired["capo_chime_sdk_messaging.types.filter_rule.FilterRule"]
    """<p>The simple JSON object used to send a subset of a push notification to the requested member.</p>"""

allow_notifications instance-attribute

allow_notifications: AllowNotifications

Enum value that indicates which push notifications to send to the requested member of a channel. ALL sends all push notifications, NONE sends no push notifications, FILTERED sends only filtered push notifications.

filter_rule instance-attribute

filter_rule: NotRequired[FilterRule]

The simple JSON object used to send a subset of a push notification to the requested member.