Package-level declarations
Types
Link copied to clipboard
data class AttachmentPickerActions(val onAttachmentItemSelected: (AttachmentPickerItemState) -> Unit, val onAttachmentsSelected: (List<Attachment>) -> Unit, val onCreatePollClick: () -> Unit, val onCreatePoll: (CreatePollParams) -> Unit, val onCreatePollDismissed: () -> Unit, val onCommandSelected: (Command) -> Unit, val onDismiss: () -> Unit)
Actions that can be performed in the attachment picker.
Functions
Link copied to clipboard
fun AttachmentPicker(attachmentsPickerViewModel: AttachmentsPickerViewModel, modifier: Modifier = Modifier, messageMode: MessageMode = MessageMode.Normal, actions: AttachmentPickerActions = remember(attachmentsPickerViewModel) {
AttachmentPickerActions.pickerDefaults(attachmentsPickerViewModel)
})
The main attachment picker component that allows users to select and attach files to messages.
Link copied to clipboard
fun AttachmentPickerMenu(attachmentsPickerViewModel: AttachmentsPickerViewModel, composerViewModel: MessageComposerViewModel)
A container component that manages the attachment picker's visibility and animations.