Skip to content

TopicPreference

Source code in docs_src/capo_sesv2/types/topic_preference.py
class TopicPreference(TypedDict, closed=True):
    topic_name: "capo_sesv2.types.topic_name.TopicName"
    """<p>The name of the topic.</p>"""
    subscription_status: "capo_sesv2.types.subscription_status.SubscriptionStatus"
    """<p>The contact's subscription status to a topic which is either <code>OPT_IN</code> or <code>OPT_OUT</code>.</p>"""

subscription_status instance-attribute

subscription_status: SubscriptionStatus

The contact's subscription status to a topic which is either OPT_IN or OPT_OUT.

topic_name instance-attribute

topic_name: TopicName

The name of the topic.