Input

constructor(message: Message, initialPosition: Int = 0, videoThumbnailsEnabled: Boolean, streamCdnImageResizing: StreamCdnImageResizing, skipEnrichUrl: Boolean = false)

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.