MessageComposerSendButton

open fun MessageComposerSendButton(enabled: Boolean, isInputValid: Boolean, onClick: () -> Unit)

The default "Send" button of the message composer.

Used as part of MessageComposerTrailingContent.

Parameters

enabled

Whether the button is enabled.

isInputValid

Whether the current input in the message composer is valid.

onClick

The action to perform when the button is clicked.