MessageComposerLeadingContentParams

data class MessageComposerLeadingContentParams(val state: MessageComposerState, val isAttachmentPickerVisible: Boolean, val onAttachmentsClick: () -> Unit, val onAttachmentsClickLabel: String? = null, 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.

onAttachmentsClickLabel

Semantic / accessibility label for onAttachmentsClick.

modifier

Modifier for styling.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard