-
public final class MessageReactionListParamsParameters for the ChatComponentFactory.MessageReactionList component.
-
-
Constructor Summary
Constructors Constructor Description MessageReactionListParams(Modifier modifier, Message message, List<ReactionOptionItemState> reactions, Function1<Message, Unit> onClick)
-
Method Summary
Modifier and Type Method Description final ModifiergetModifier()final MessagegetMessage()final List<ReactionOptionItemState>getReactions()final Function1<Message, Unit>getOnClick()-
-
Constructor Detail
-
MessageReactionListParams
MessageReactionListParams(Modifier modifier, Message message, List<ReactionOptionItemState> reactions, Function1<Message, Unit> onClick)
- Parameters:
modifier- Modifier for styling.message- The message for which the reactions are displayed.reactions- The list of reaction options to display.onClick- Handler when the reaction list is clicked.
-
-
Method Detail
-
getModifier
final Modifier getModifier()
-
getMessage
final Message getMessage()
-
getReactions
final List<ReactionOptionItemState> getReactions()
-
getOnClick
final Function1<Message, Unit> getOnClick()
-
-
-
-