Skip to content

/AWS1/CL_PP2RCSFILEMESSAGE

A file message containing a media file (image, video, audio, or PDF) with an optional thumbnail.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_fileurl TYPE /AWS1/PP2RCSMEDIAURL /AWS1/PP2RCSMEDIAURL

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.

Optional arguments:

iv_thumbnailurl TYPE /AWS1/PP2RCSMEDIAURL /AWS1/PP2RCSMEDIAURL

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


Queryable Attributes

FileUrl

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.

Accessible with the following methods

Method Description
GET_FILEURL() Getter for FILEURL, with configurable default
ASK_FILEURL() Getter for FILEURL w/ exceptions if field has no value
HAS_FILEURL() Determine if FILEURL has a value

ThumbnailUrl

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

Accessible with the following methods

Method Description
GET_THUMBNAILURL() Getter for THUMBNAILURL, with configurable default
ASK_THUMBNAILURL() Getter for THUMBNAILURL w/ exceptions if field has no value
HAS_THUMBNAILURL() Determine if THUMBNAILURL has a value