Package 

Class ReactionsMenuKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit ReactionsMenu(Message message, User currentUser, Set<String> ownCapabilities, Function1<MessageAction, Unit> onMessageAction, Function0<Unit> onShowMoreReactionsSelected, Modifier modifier, Function0<Unit> onDismiss) Represents the list of user reactions as a draggable bottom sheet.
      • Methods inherited from class java.lang.Object

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

      • ReactionsMenu

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

        Represents the list of user reactions as a draggable bottom sheet.

        Parameters:
        message - The selected message.
        currentUser - The currently logged in user.
        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.
        onDismiss - Handler called when the menu is dismissed.