Package 

Class MessageActionsKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit MessageActions(Message message, List<MessageOptionItemState> messageOptions, Set<String> ownCapabilities, Function1<MessageAction, Unit> onMessageAction, Function0<Unit> onShowMoreReactionsSelected, Modifier modifier, User currentUser, Function0<Unit> onDismiss) 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

      • MessageActions

        @Composable() final static Unit MessageActions(Message message, List<MessageOptionItemState> messageOptions, Set<String> ownCapabilities, Function1<MessageAction, Unit> onMessageAction, Function0<Unit> onShowMoreReactionsSelected, Modifier modifier, User currentUser, Function0<Unit> onDismiss)

        Represents the options user can take after selecting a message.

        The selected message is shown in a centered pop-out overlay with a dark background, reactions above it and a flat options list below.

        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.
        currentUser - The currently logged-in user, used to build the message preview.
        onDismiss - Handler invoked asynchronously once after the exit animation completes.