Package 

Class MessageComposerViewEvent.CancelCommandRequired

  • All Implemented Interfaces:
    io.getstream.chat.android.ui.common.state.messages.composer.MessageComposerViewEvent

    
    public final class MessageComposerViewEvent.CancelCommandRequired
     implements MessageComposerViewEvent
                        

    Emitted when the user attempts action (switching composer mode or sending) while an active command conflicts with the target action. The user must cancel the active command before the action can proceed.

    • Constructor Detail

      • MessageComposerViewEvent.CancelCommandRequired

        MessageComposerViewEvent.CancelCommandRequired(MessageAction action)
        Parameters:
        action - The composer action whose attempt was rejected.