Skip to content

UpdateMessageTemplateRequest

Source code in docs_src/capo_qconnect/types/update_message_template_request.py
class UpdateMessageTemplateRequest(TypedDict, closed=True):
    knowledge_base_id: "capo_qconnect.types.uuid_or_arn.UuidOrArn"
    """<p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>"""
    message_template_id: "capo_qconnect.types.uuid_or_arn_or_either_with_qualifier.UuidOrArnOrEitherWithQualifier"
    """<p>The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.</p>"""
    content: NotRequired[
        "capo_qconnect.types.message_template_content_provider.MessageTemplateContentProvider"
    ]
    """<p>The content of the message template.</p>"""
    language: NotRequired["capo_qconnect.types.language_code.LanguageCode"]
    """<p>The language code value for the language in which the quick response is written. The supported language codes include <code>de_DE</code>, <code>en_US</code>, <code>es_ES</code>, <code>fr_FR</code>, <code>id_ID</code>, <code>it_IT</code>, <code>ja_JP</code>, <code>ko_KR</code>, <code>pt_BR</code>, <code>zh_CN</code>, <code>zh_TW</code> </p>"""
    source_configuration: NotRequired[
        "capo_qconnect.types.message_template_source_configuration.MessageTemplateSourceConfiguration"
    ]
    """<p>The source configuration of the message template. Only set this argument for WHATSAPP channel subtype.</p>"""
    default_attributes: NotRequired[
        "capo_qconnect.types.message_template_attributes.MessageTemplateAttributes"
    ]
    """<p>An object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.</p>"""

content instance-attribute

content: NotRequired[MessageTemplateContentProvider]

The content of the message template.

default_attributes instance-attribute

default_attributes: NotRequired[MessageTemplateAttributes]

An object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.

knowledge_base_id instance-attribute

knowledge_base_id: UuidOrArn

The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

language instance-attribute

language: NotRequired[LanguageCode]

The language code value for the language in which the quick response is written. The supported language codes include de_DE, en_US, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, zh_TW

message_template_id instance-attribute

message_template_id: UuidOrArnOrEitherWithQualifier

The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.

source_configuration instance-attribute

source_configuration: NotRequired[MessageTemplateSourceConfiguration]

The source configuration of the message template. Only set this argument for WHATSAPP channel subtype.