Input
class Input(val message: Message, val initialPosition: Int = 0, val videoThumbnailsEnabled: Boolean, val streamCdnImageResizing: StreamCdnImageResizing, val skipEnrichUrl: Boolean = false)
Defines the input for the MediaGalleryPreviewContract.
Parameters
message
The message containing the attachments.
initialPosition
The initial position of the media gallery, based on the clicked item.
videoThumbnailsEnabled
Whether video thumbnails will be displayed in previews or not.
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.