MediaAttachmentClickData

Data class that holds all the information required to handle media attachment clicks.

Parameters

mediaGalleryPreviewLauncher

The ManagedActivityResultLauncher to launch the media gallery.

message

The message that holds the clicked attachment.

selectedAttachmentUrl

The preview URL of the clicked attachment.

videoThumbnailsEnabled

Whether video thumbnails are enabled.

streamCdnImageResizing

The StreamCdnImageResizing used to resize images.

skipEnrichUrl

Used by the media gallery. 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.