MessageComposerLeadingContentParams

constructor(state: MessageComposerState, isAttachmentPickerVisible: Boolean, onAttachmentsClick: () -> Unit, onAttachmentsClickLabel: String? = null, modifier: Modifier = Modifier)

Parameters

state

The current state of the message composer.

isAttachmentPickerVisible

Whether the attachment picker is visible.

onAttachmentsClick

Action invoked when attachments button is clicked.

onAttachmentsClickLabel

Semantic / accessibility label for onAttachmentsClick.

modifier

Modifier for styling.