Skip to content

RcsFileMessage

Source code in docs_src/capo_pinpoint_sms_voice_v2/types/rcs_file_message.py
class RcsFileMessage(TypedDict, closed=True):
    file_url: "capo_pinpoint_sms_voice_v2.types.rcs_media_url.RcsMediaUrl"
    """<p>The S3 URI of the media file to send, in the format <code>s3://bucket-name/key</code>. The service downloads the file from your S3 bucket, rehosts it, and generates a presigned URL for the aggregator. Maximum 2000 characters.</p>"""
    thumbnail_url: NotRequired[
        "capo_pinpoint_sms_voice_v2.types.rcs_media_url.RcsMediaUrl"
    ]
    """<p>The S3 URI of an optional thumbnail image for the media file, in the format <code>s3://bucket-name/key</code>. Maximum 2000 characters.</p>"""

file_url instance-attribute

file_url: RcsMediaUrl

The S3 URI of the media file to send, in the format s3://bucket-name/key. The service downloads the file from your S3 bucket, rehosts it, and generates a presigned URL for the aggregator. Maximum 2000 characters.

thumbnail_url instance-attribute

thumbnail_url: NotRequired[RcsMediaUrl]

The S3 URI of an optional thumbnail image for the media file, in the format s3://bucket-name/key. Maximum 2000 characters.