Skip to content

MetaLibraryTemplateDefinition

Source code in docs_src/capo_socialmessaging/types/meta_library_template_definition.py
class MetaLibraryTemplateDefinition(TypedDict, closed=True):
    template_name: NotRequired[
        "capo_socialmessaging.types.meta_template_name.MetaTemplateName"
    ]
    """<p>The name of the template.</p>"""
    template_language: NotRequired[
        "capo_socialmessaging.types.meta_template_language.MetaTemplateLanguage"
    ]
    """<p>The language code for 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_topic: NotRequired[
        "capo_socialmessaging.types.meta_template_topic.MetaTemplateTopic"
    ]
    """<p>The topic or subject matter of the template.</p>"""
    template_use_case: NotRequired[
        "capo_socialmessaging.types.meta_template_use_case.MetaTemplateUseCase"
    ]
    """<p>The intended use case for the template.</p>"""
    template_industry: NotRequired[
        "capo_socialmessaging.types.meta_industries.MetaIndustries"
    ]
    """<p>The industries the template is designed for.</p>"""
    template_header: NotRequired[
        "capo_socialmessaging.types.meta_template_header.MetaTemplateHeader"
    ]
    """<p>The header text of the template.</p>"""
    template_body: NotRequired[
        "capo_socialmessaging.types.meta_template_body.MetaTemplateBody"
    ]
    """<p>The body text of the template.</p>"""
    template_buttons: NotRequired[
        "capo_socialmessaging.types.meta_library_template_button_list.MetaLibraryTemplateButtonList"
    ]
    """<p>The buttons included in the template.</p>"""
    template_id: NotRequired[
        "capo_socialmessaging.types.meta_template_id.MetaTemplateId"
    ]
    """<p>The ID of the template in Meta's library.</p>"""
    template_body_example_params: NotRequired[
        "capo_socialmessaging.types.meta_template_body_example_params.MetaTemplateBodyExampleParams"
    ]
    """<p>Example parameter values for the template body, used to demonstrate how dynamic content appears in the template.</p>"""

template_body instance-attribute

template_body: NotRequired[MetaTemplateBody]

The body text of the template.

template_body_example_params instance-attribute

template_body_example_params: NotRequired[MetaTemplateBodyExampleParams]

Example parameter values for the template body, used to demonstrate how dynamic content appears in the template.

template_buttons instance-attribute

template_buttons: NotRequired[MetaLibraryTemplateButtonList]

The buttons included in the template.

template_category instance-attribute

template_category: NotRequired[MetaTemplateCategory]

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

template_header instance-attribute

template_header: NotRequired[MetaTemplateHeader]

The header text of the template.

template_id instance-attribute

template_id: NotRequired[MetaTemplateId]

The ID of the template in Meta's library.

template_industry instance-attribute

template_industry: NotRequired[MetaIndustries]

The industries the template is designed for.

template_language instance-attribute

template_language: NotRequired[MetaTemplateLanguage]

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

template_name instance-attribute

template_name: NotRequired[MetaTemplateName]

The name of the template.

template_topic instance-attribute

template_topic: NotRequired[MetaTemplateTopic]

The topic or subject matter of the template.

template_use_case instance-attribute

template_use_case: NotRequired[MetaTemplateUseCase]

The intended use case for the template.