Package 

Class MessageInputOptionsKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit MessageInputOptions(MessageAction activeAction, Function0<Unit> onCancelAction, Modifier modifier) Shows the options "header" for the message input component.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • MessageInputOptions

        @Composable() final static Unit MessageInputOptions(MessageAction activeAction, Function0<Unit> onCancelAction, Modifier modifier)

        Shows the options "header" for the message input component. This is based on the currently active message action - io.getstream.chat.android.ui.common.state.messages.Reply or io.getstream.chat.android.ui.common.state.messages.Edit.

        Parameters:
        activeAction - Currently active MessageAction.
        onCancelAction - Handler when the user cancels the current action.
        modifier - Modifier for styling.