MediaGalleryPreviewViewModel
A ViewModel capable of loading images, playing videos.
Parameters
The low level chat client used for API calls.
Used to collect client state information such as the connectivity status.
The ID of the message containing the attachments to be previewed.
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.
Constructors
Properties
Represent the header title of the gallery screen.
If we are preparing a file for sharing or not.
Shows or hides the media gallery menu in the UI.
Shows or hides the media options menu and overlay in the UI.
If an attachment needs a prompt to be shared due to a large file size this value will be non-null.
Functions
Deletes the current media attachment from the message we're observing, if possible.
Toggles if we're showing the gallery screen.
Toggles if we're showing the media options menu.