Input

constructor(message: Message, selectedAttachmentUrl: String? = null, videoThumbnailsEnabled: Boolean, streamCdnImageResizing: StreamCdnImageResizing, skipEnrichUrl: Boolean = false)

Parameters

message

The message containing the attachments.

selectedAttachmentUrl

The preview URL of the selected attachment to display first.

videoThumbnailsEnabled

Whether video thumbnails will be displayed in previews or not.

streamCdnImageResizing

The CDN image resizing strategy.

skipEnrichUrl

If set to true will skip enriching URLs when you update the message by deleting an attachment contained within it. Set to false by default.