Skip to content

MessageComponents

Source code in docs_src/capo_notifications/types/message_components.py
class MessageComponents(TypedDict, closed=True):
    headline: NotRequired[
        "capo_notifications.types.text_part_reference.TextPartReference"
    ]
    """<p>A sentence long summary. For example, titles or an email subject line.</p>"""
    paragraph_summary: NotRequired[
        "capo_notifications.types.text_part_reference.TextPartReference"
    ]
    """<p>A paragraph long or multiple sentence summary. For example, Amazon Q Developer in chat applications notifications.</p>"""
    complete_description: NotRequired[
        "capo_notifications.types.text_part_reference.TextPartReference"
    ]
    """<p>A complete summary with all possible relevant information.</p>"""
    markup_description: NotRequired[
        "capo_notifications.types.text_part_reference.TextPartReference"
    ]
    """<p>A rich description in Portable Text format, which you can convert to markup formats such as HTML, Markdown, or plain text. Channels that don't support rich rendering ignore this field and use the plain text components instead.</p>"""
    dimensions: NotRequired["capo_notifications.types.dimensions.Dimensions"]
    """<p>A list of properties in key-value pairs. Pairs are shown in order of importance from most important to least important. Channels may limit the number of dimensions shown to the notification viewer.</p> <note> <p>Included dimensions, keys, and values are subject to change.</p> </note>"""

complete_description instance-attribute

complete_description: NotRequired[TextPartReference]

A complete summary with all possible relevant information.

dimensions instance-attribute

dimensions: NotRequired[Dimensions]

A list of properties in key-value pairs. Pairs are shown in order of importance from most important to least important. Channels may limit the number of dimensions shown to the notification viewer.

Included dimensions, keys, and values are subject to change.

headline instance-attribute

headline: NotRequired[TextPartReference]

A sentence long summary. For example, titles or an email subject line.

markup_description instance-attribute

markup_description: NotRequired[TextPartReference]

A rich description in Portable Text format, which you can convert to markup formats such as HTML, Markdown, or plain text. Channels that don't support rich rendering ignore this field and use the plain text components instead.

paragraph_summary instance-attribute

paragraph_summary: NotRequired[TextPartReference]

A paragraph long or multiple sentence summary. For example, Amazon Q Developer in chat applications notifications.