Package 

Class MessageReactionsKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit ClusteredMessageReactions(List<MessageReactionItemState> reactions, Modifier modifier, Function0<Unit> onClick) Represents a reaction bubble with a list of reactions this message has.
      final static Unit SegmentedMessageReactions(List<MessageReactionItemState> reactions, Modifier modifier, Function0<Unit> onClick) Represents a segmented reaction layout where each reaction gets its own pill with an individual count.
      • Methods inherited from class java.lang.Object

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

      • ClusteredMessageReactions

        @Composable() final static Unit ClusteredMessageReactions(List<MessageReactionItemState> reactions, Modifier modifier, Function0<Unit> onClick)

        Represents a reaction bubble with a list of reactions this message has.

        Parameters:
        reactions - The list of reactions to display.
        modifier - Modifier for styling.
        onClick - Handler when the reaction list is clicked.
      • SegmentedMessageReactions

        @Composable() final static Unit SegmentedMessageReactions(List<MessageReactionItemState> reactions, Modifier modifier, Function0<Unit> onClick)

        Represents a segmented reaction layout where each reaction gets its own pill with an individual count.

        Parameters:
        reactions - The list of reactions to display.
        modifier - Modifier for styling.
        onClick - Handler when the user taps on the reaction pills.