Package-level declarations

Types

Link copied to clipboard

Should remove the selected media attachment from the original message.

Link copied to clipboard

Represents the actions the user can take with media attachments in the Media Gallery Preview feature.

Link copied to clipboard
data class MediaGalleryPreviewOption(val title: String, val titleColor: Color, val iconPainter: Painter, val iconColor: Color, val action: MediaGalleryPreviewAction, val isEnabled: Boolean)

Represents the information for media gallery preview options the user can take.

Link copied to clipboard
class MediaGalleryPreviewResult(val messageId: String, val parentMessageId: String?, val resultType: MediaGalleryPreviewResultType) : Parcelable

Represents the Media Gallery Preview screen result that we propagate to the Messages screen.

Link copied to clipboard

Represents the types of actions that result in different behavior in the message list.

Link copied to clipboard
data class Reply(message: Message) : MediaGalleryPreviewAction

Should take the user back to the message list with a pre-packaged quoted reply in the message input.

Link copied to clipboard

Should save the media to storage.

Link copied to clipboard

Should show the message containing the attachments in the message list.