Package 

Class SelectedMessageMenuKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit SelectedMessageMenu(Message message, List<MessageOptionItemState> messageOptions, Set<String> ownCapabilities, Function1<MessageAction, Unit> onMessageAction, Function0<Unit> onShowMoreReactionsSelected, Modifier modifier, Shape shape, Color overlayColor, Map<String, ReactionIcon> reactionTypes, @DrawableRes() Integer showMoreReactionsIcon, Function0<Unit> onDismiss, Function1<ColumnScope, Unit> headerContent, Function1<ColumnScope, Unit> centerContent) Represents the options user can take after selecting a message.
      • Methods inherited from class java.lang.Object

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

      • SelectedMessageMenu

        @Composable() final static Unit SelectedMessageMenu(Message message, List<MessageOptionItemState> messageOptions, Set<String> ownCapabilities, Function1<MessageAction, Unit> onMessageAction, Function0<Unit> onShowMoreReactionsSelected, Modifier modifier, Shape shape, Color overlayColor, Map<String, ReactionIcon> reactionTypes, @DrawableRes() Integer showMoreReactionsIcon, Function0<Unit> onDismiss, Function1<ColumnScope, Unit> headerContent, Function1<ColumnScope, Unit> centerContent)

        Represents the options user can take after selecting a message.

        Parameters:
        message - The selected message.
        messageOptions - The available message options within the menu.
        ownCapabilities - Set of capabilities the user is given for the current channel.
        onMessageAction - Handler that propagates click events on each item.
        onShowMoreReactionsSelected - Handler that propagates clicks on the show more reactions button.
        modifier - Modifier for styling.
        shape - Changes the shape of SelectedMessageMenu.
        overlayColor - The color applied to the overlay.
        reactionTypes - The available reactions within the menu.
        showMoreReactionsIcon - Drawable resource used for the show more button.
        onDismiss - Handler called when the menu is dismissed.
        headerContent - The content shown at the top of the SelectedMessageMenu dialog.
        centerContent - The content shown at the center of the SelectedMessageMenu dialog.