Skip to content

InAppMessageContent

Source code in docs_src/capo_pinpoint/types/in_app_message_content.py
class InAppMessageContent(TypedDict, closed=True):
    background_color: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The background color for the message.</p>"""
    body_config: NotRequired[
        "capo_pinpoint.types.in_app_message_body_config.InAppMessageBodyConfig"
    ]
    """<p>The configuration for the message body.</p>"""
    header_config: NotRequired[
        "capo_pinpoint.types.in_app_message_header_config.InAppMessageHeaderConfig"
    ]
    """<p>The configuration for the message header.</p>"""
    image_url: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The image url for the background of message.</p>"""
    primary_btn: NotRequired[
        "capo_pinpoint.types.in_app_message_button.InAppMessageButton"
    ]
    """<p>The first button inside the message.</p>"""
    secondary_btn: NotRequired[
        "capo_pinpoint.types.in_app_message_button.InAppMessageButton"
    ]
    """<p>The second button inside message.</p>"""

background_color instance-attribute

background_color: NotRequired[__string]

The background color for the message.

body_config instance-attribute

body_config: NotRequired[InAppMessageBodyConfig]

The configuration for the message body.

header_config instance-attribute

header_config: NotRequired[InAppMessageHeaderConfig]

The configuration for the message header.

image_url instance-attribute

image_url: NotRequired[__string]

The image url for the background of message.

primary_btn instance-attribute

primary_btn: NotRequired[InAppMessageButton]

The first button inside the message.

secondary_btn instance-attribute

secondary_btn: NotRequired[InAppMessageButton]

The second button inside message.