-
public final class ReactionToggleParamsParameters for ChatComponentFactory.ReactionToggle.
-
-
Constructor Summary
Constructors Constructor Description ReactionToggleParams(String type, String emoji, ReactionToggleSize size, Boolean checked, Modifier modifier, Function1<Boolean, Unit> onCheckedChange)
-
Method Summary
Modifier and Type Method Description final StringgetType()final StringgetEmoji()final ReactionToggleSizegetSize()final BooleangetChecked()final ModifiergetModifier()final Function1<Boolean, Unit>getOnCheckedChange()-
-
Constructor Detail
-
ReactionToggleParams
ReactionToggleParams(String type, String emoji, ReactionToggleSize size, Boolean checked, Modifier modifier, Function1<Boolean, Unit> onCheckedChange)
- Parameters:
type- The string representation of the reaction.emoji- The emoji character the type maps to, if any.size- The size of the reaction toggle.checked- Whether the toggle is checked.modifier- Modifier for styling.onCheckedChange- Callback when the checked state changes.
-
-
Method Detail
-
getSize
final ReactionToggleSize getSize()
-
getChecked
final Boolean getChecked()
-
getModifier
final Modifier getModifier()
-
getOnCheckedChange
final Function1<Boolean, Unit> getOnCheckedChange()
-
-
-
-