MessageComposerView
UI component designed for handling message text input, attachments, actions, and sending the message.
Properties
Selection listener for the "also send to channel" checkbox.
Click listener for the remove attachment button.
Click listener for the pick attachments button.
Selection listener invoked when attachments are selected.
Builder for the attachments picker dialog.
Click listener for the audio recording complete button.
Click listener for the audio recording delete button.
Click listener for the audio recording playback button.
Cancel listener invoked when the audio recording gets cancelled.
Hold listener invoked when the microphone button gets pressed down.
Lock listener invoked when the audio recording gets locked.
Release listener invoked when the microphone button gets released.
Touch listener for the audio record button.
Drag start listener invoked when the audio slider starts being dragged.
Drag stop listener invoked when the audio slider stops being dragged.
Click listener for the audio recording stop button.
Click listener for the pick commands button.
Selection listener invoked when a command suggestion item is selected.
Click listener for the dismiss action button.
Click listener invoked when suggestion popup is dismissed.
Selection listener invoked when a mention suggestion item is selected.
Selection listener invoked when a poll is submitted.
Click listener for the send message button.
Text change listener invoked each time after text was changed.
Inherited properties
Functions
Invoked when the state has changed and the UI needs to be updated accordingly.
Sets custom center content view. It must implement MessageComposerContent interface and should render a message input field according to the received state. The current mode is propagated to the contentView in the MessageComposerContent.renderState function.
Sets a custom overlapping content view. It must implement the MessageComposerContent interface and should render the currently active action according to the received state. The currently active action is propagated to the contentView in the MessageComposerContent.renderState function.
Sets a custom command suggestions content view. It must implement the MessageComposerContent interface, and should render command suggestions according to the received state. List of currently available command suggestions is propagated to the contentView in the MessageComposerContent.renderState function.
Sets a custom footer content view. It must implement MessageComposerContent interface and should render the "also send to channel" checkbox in the thread mode according to the received state. The current mode is propagated to the contentView in the MessageComposerContent.renderState function.
Sets a custom header content view. It must implement the MessageComposerContent interface and should render the currently active action according to the received state. The currently active action is propagated to the contentView in the MessageComposerContent.renderState function.
Sets custom leading content view. It must implement MessageComposerContent interface and should render integration buttons according to the received state. The current mode is propagated to the contentView in the MessageComposerContent.renderState function.
Sets custom mention suggestions content view. It must implement MessageComposerContent interface, and should render mention suggestions according to the received state. List of currently available mention suggestions is propagated to the contentView in the MessageComposerContent.renderState function.
Sets custom trailing content view. It must implement MessageComposerContent interface and should render a send button according to the received state. The current mode is propagated to the contentView in the MessageComposerContent.renderState function.