MessageInputActions
This is a container for message related action buttons
Component children#
Key | Component | Condition | Align | Description |
---|---|---|---|---|
attach-file-button | styled(IconButton) | start | Button for attaching files to a message | |
send-button | styled(IconButton) | end | Button for sending a message |
Static Properties#
Name | Type | Description |
---|---|---|
Content | DynamicContentStore<MessageInputActions.MessageInputActions> | Dynamic content store |
Component Properties#
Name | Type | Description | Optional | Default |
---|---|---|---|---|
conversationSid | string | The conversation sid. | No | |
attachFileButtonAriaLabel | string | Aria label for the attach file button. | No | |
handleFileChange | function | Function called when file an input file is changed. | No | |
sendMessage | function | Function called when the send button is clicked. | No | |
attachFileDisabled | boolean | Determines whether attaching files is disabled. | No | |
sendDisabled | boolean | Determines whether sending is disabled. | No | |
disabledReason | string | Provides a reason for the send button being disabled. | No | |
sendButtonArialabel | string | Aria label for send button. | No | |
sendButtonAriaProps | AriaProps | Aria props for send button. | No | |
matchSendMessagePayloadPredicate | function | Payload for sendMessage action. | No | |
hideSendButton | boolean | Determines whether the send button is hidden. | No |
Rate this page