Package 

Class MessageComposerParams

    • Constructor Detail

      • MessageComposerParams

        MessageComposerParams(MessageComposerState messageComposerState, Function2<RowScope, MessageComposerState, Unit> input, Modifier modifier, Boolean isAttachmentPickerVisible, Function2<String, List<Attachment>, Unit> onSendMessage, String sendActionLabel, String saveActionLabel, Function0<Unit> onAttachmentsClick, String attachmentsActionLabel, Function1<String, Unit> onValueChange, Function1<Attachment, Unit> onAttachmentRemoved, Function0<Unit> onCancelAction, Function1<User, Unit> onUserSelected, Function1<Command, Unit> onCommandSelected, Function1<Boolean, Unit> onAlsoSendToChannelSelected, Function0<Unit> onActiveCommandDismiss, AudioRecordingActions recordingActions, Function1<LinkPreview, Unit> onLinkPreviewClick, Function0<Unit> onCancelLinkPreviewClick, Function1<Mention, Unit> onMentionSelected)
        Parameters:
        messageComposerState - The current state of the message composer.
        input - The composable input content.
        modifier - Modifier for styling.
        isAttachmentPickerVisible - Whether the attachment picker is visible.
        onSendMessage - Action invoked when a message is sent.
        sendActionLabel - Semantic / accessibility label for onSendMessage.
        saveActionLabel - Semantic / accessibility label for the save action (shown when editing a message).
        onAttachmentsClick - Action invoked when attachments button is clicked.
        attachmentsActionLabel - Semantic / accessibility label for onAttachmentsClick.
        onValueChange - Action invoked when the input value changes.
        onAttachmentRemoved - Action invoked when an attachment is removed.
        onCancelAction - Action invoked when the cancel button is clicked.
        onUserSelected - Action invoked when a user mention is selected.
        onCommandSelected - Action invoked when a command is selected.
        onAlsoSendToChannelSelected - Action invoked when also-send-to-channel is changed.
        onActiveCommandDismiss - Action invoked when the active command is dismissed.
        recordingActions - The actions to control the audio recording.
        onLinkPreviewClick - Action invoked when a link preview is clicked.
        onCancelLinkPreviewClick - Action invoked when the cancel link preview button is clicked.
        onMentionSelected - Action invoked when a Mention is selected.