MessageComposerLeadingContentParams
data class MessageComposerLeadingContentParams(val state: MessageComposerState, val isAttachmentPickerVisible: Boolean, val onAttachmentsClick: () -> Unit, val modifier: Modifier = Modifier)
Parameters for ChatComponentFactory.MessageComposerLeadingContent.
Parameters
state
The current state of the message composer.
isAttachmentPickerVisible
Whether the attachment picker is visible.
onAttachmentsClick
Action invoked when attachments button is clicked.
modifier
Modifier for styling.
Constructors
Link copied to clipboard
constructor(state: MessageComposerState, isAttachmentPickerVisible: Boolean, onAttachmentsClick: () -> Unit, modifier: Modifier = Modifier)