Package 

Class MessageComposerInputParams

    • Constructor Detail

      • MessageComposerInputParams

        MessageComposerInputParams(MessageComposerState state, Modifier modifier, Function1<String, Unit> onInputChanged, Function1<Attachment, Unit> onAttachmentRemoved, Function0<Unit> onCancel, Function2<String, List<Attachment>, Unit> onSendClick, String sendActionLabel, String saveActionLabel, Function1<Boolean, Unit> onAlsoSendToChannelChange, AudioRecordingActions recordingActions, Function0<Unit> onActiveCommandDismiss, Function1<LinkPreview, Unit> onLinkPreviewClick, Function0<Unit> onCancelLinkPreviewClick)
        Parameters:
        state - The current state of the message composer.
        modifier - Modifier for styling.
        onInputChanged - Action invoked when the input is changed.
        onAttachmentRemoved - Action invoked when an attachment is removed.
        onCancel - Action invoked when the cancel button is clicked.
        onSendClick - Action invoked when the send button is clicked.
        sendActionLabel - Semantic / accessibility label for the send action.
        saveActionLabel - Semantic / accessibility label for the save action (shown when editing a message).
        onAlsoSendToChannelChange - Action invoked when also-send-to-channel is changed.
        recordingActions - The actions to control the audio recording.
        onActiveCommandDismiss - Action invoked when the active command is dismissed.
        onLinkPreviewClick - Action invoked when a link preview is clicked.
        onCancelLinkPreviewClick - Action invoked when link preview cancel is clicked.