Interface RcsFileMessage.Builder

  • Method Details

    • fileUrl

      RcsFileMessage.Builder fileUrl(String 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • thumbnailUrl

      RcsFileMessage.Builder thumbnailUrl(String thumbnailUrl)

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

      Parameters:
      thumbnailUrl - The S3 URI of an optional thumbnail image for the media file, in the format s3://bucket-name/key. Maximum 2000 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.