Package-level declarations

Types

Link copied to clipboard
data class AttachmentPickerItemState(val attachmentMetaData: AttachmentMetaData, val isSelected: Boolean)

Represents each attachment item in our attachment picker. Each item can be selected and has an appropriate set of metadata to describe it.

Link copied to clipboard

Represents the currently active attachment picker mode.

Link copied to clipboard
data class AttachmentState(val message: Message, val onLongItemClick: (Message) -> Unit = {}, val onMediaGalleryPreviewResult: (MediaGalleryPreviewResult?) -> Unit = {})

Represents the state of Attachment items, used to render and add handlers required for the attachment to work.

Link copied to clipboard
data class CustomPickerMode(val extraProperties: Map<String, Any> = emptyMap()) : AttachmentsPickerMode

User-customizable picker mode, with any number of extra properties.

Link copied to clipboard

Represents the mode with files from the device.

Link copied to clipboard

Represents the mode with media files from the device.

Link copied to clipboard

Represents the mode with media capture.

Link copied to clipboard

Represents the mode, creates a poll.