Input
class Input(val message: Message, val selectedAttachmentUrl: String? = null, val videoThumbnailsEnabled: Boolean, val streamCdnImageResizing: StreamCdnImageResizing, val skipEnrichUrl: Boolean = false)
Defines the input for the MediaGalleryPreviewContract.
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.