Skip to content

NotificationEventAttachment

Source code in docs_src/capo_notifications/types/notification_event_attachment.py
class NotificationEventAttachment(TypedDict, closed=True):
    display_name: (
        "capo_notifications.types.attachment_display_name.AttachmentDisplayName"
    )
    """<p>The name of the attachment that recipients see.</p>"""
    attachment_download_url: NotRequired[
        "capo_notifications.types.sensitive_url.SensitiveUrl"
    ]
    """<p>A temporary URL for downloading the attachment. The URL expires shortly after it's issued.</p>"""
    content_type: (
        "capo_notifications.types.attachment_content_type.AttachmentContentType"
    )
    """<p>The MIME content type of the attachment, for example <code>application/pdf</code>.</p>"""

attachment_download_url instance-attribute

attachment_download_url: NotRequired[SensitiveUrl]

A temporary URL for downloading the attachment. The URL expires shortly after it's issued.

content_type instance-attribute

content_type: AttachmentContentType

The MIME content type of the attachment, for example application/pdf.

display_name instance-attribute

display_name: AttachmentDisplayName

The name of the attachment that recipients see.