Skip to content

TemplateSummary

Source code in docs_src/capo_socialmessaging/types/template_summary.py
class TemplateSummary(TypedDict, closed=True):
    template_name: NotRequired[
        "capo_socialmessaging.types.meta_template_name.MetaTemplateName"
    ]
    """<p>The name of the template.</p>"""
    meta_template_id: NotRequired[
        "capo_socialmessaging.types.meta_template_id.MetaTemplateId"
    ]
    """<p>The numeric ID assigned to the template by Meta.</p>"""
    template_status: NotRequired[
        "capo_socialmessaging.types.meta_template_status.MetaTemplateStatus"
    ]
    """<p>The current status of the template (for example, APPROVED, PENDING, or REJECTED).</p>"""
    template_quality_score: NotRequired[
        "capo_socialmessaging.types.meta_template_quality_score.MetaTemplateQualityScore"
    ]
    """<p>The quality score assigned to the template by Meta.</p>"""
    template_language: NotRequired[
        "capo_socialmessaging.types.meta_template_language.MetaTemplateLanguage"
    ]
    """<p>The language code of the template (for example, en_US).</p>"""
    template_category: NotRequired[
        "capo_socialmessaging.types.meta_template_category.MetaTemplateCategory"
    ]
    """<p>The category of the template (for example, UTILITY or MARKETING).</p>"""
    template_source: NotRequired[
        "capo_socialmessaging.types.meta_template_source.MetaTemplateSource"
    ]
    """<p>The source of the template. A value of AUTO_GENERATED indicates that the template was created automatically from a message that you sent. This field is not present for templates that you created manually.</p>"""
    correct_category: NotRequired[
        "capo_socialmessaging.types.meta_template_category.MetaTemplateCategory"
    ]
    """<p>The category that the template content actually belongs to, when it differs from the template's current category. This field is present only when the template has been flagged as miscategorized.</p>"""

correct_category instance-attribute

correct_category: NotRequired[MetaTemplateCategory]

The category that the template content actually belongs to, when it differs from the template's current category. This field is present only when the template has been flagged as miscategorized.

meta_template_id instance-attribute

meta_template_id: NotRequired[MetaTemplateId]

The numeric ID assigned to the template by Meta.

template_category instance-attribute

template_category: NotRequired[MetaTemplateCategory]

The category of the template (for example, UTILITY or MARKETING).

template_language instance-attribute

template_language: NotRequired[MetaTemplateLanguage]

The language code of the template (for example, en_US).

template_name instance-attribute

template_name: NotRequired[MetaTemplateName]

The name of the template.

template_quality_score instance-attribute

template_quality_score: NotRequired[MetaTemplateQualityScore]

The quality score assigned to the template by Meta.

template_source instance-attribute

template_source: NotRequired[MetaTemplateSource]

The source of the template. A value of AUTO_GENERATED indicates that the template was created automatically from a message that you sent. This field is not present for templates that you created manually.

template_status instance-attribute

template_status: NotRequired[MetaTemplateStatus]

The current status of the template (for example, APPROVED, PENDING, or REJECTED).