Description of icon
Flex UI
API Reference

MessageInputActions

This is a container for message related action buttons


Component children#

KeyComponentConditionAlignDescription
attach-file-buttonstyled(IconButton)
start
Button for attaching files to a message
send-buttonstyled(IconButton)
end
Button for sending a message

Static Properties#

NameTypeDescription
ContentDynamicContentStore<MessageInputActions.MessageInputActions>

Dynamic content store

Component Properties#

NameTypeDescriptionOptionalDefault
conversationSidstring

The conversation sid.

No
attachFileButtonAriaLabelstring

Aria label for the attach file button.

No
handleFileChangefunction

Function called when file an input file is changed.

No
sendMessagefunction

Function called when the send button is clicked.

No
attachFileDisabledboolean

Determines whether attaching files is disabled.

No
sendDisabledboolean

Determines whether sending is disabled.

No
disabledReasonstring

Provides a reason for the send button being disabled.

No
sendButtonArialabelstring

Aria label for send button.

No
sendButtonAriaPropsAriaProps

Aria props for send button.

No
matchSendMessagePayloadPredicatefunction

Payload for sendMessage action.

No
hideSendButtonboolean

Determines whether the send button is hidden.

No
Rate this page

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.