MessageComposerInputTrailingContentParams

data class MessageComposerInputTrailingContentParams(val state: MessageComposerState, val recordingActions: AudioRecordingActions, val onSendClick: (String, List<Attachment>) -> Unit, val sendActionLabel: String? = null, val saveActionLabel: String? = null)

Parameters for ChatComponentFactory.MessageComposerInputTrailingContent.

Parameters

state

The current state of the message composer.

recordingActions

The actions to control the audio recording.

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).

Constructors

constructor(state: MessageComposerState, recordingActions: AudioRecordingActions, onSendClick: (String, List<Attachment>) -> Unit, sendActionLabel: String? = null, saveActionLabel: String? = null)

Properties

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