-
public final class AttachmentTypeSystemPickerParamsParameters for ChatComponentFactory.AttachmentTypeSystemPicker.
-
-
Field Summary
Fields Modifier and Type Field Description private final Channelchannelprivate final MessageModemessageModeprivate final Function1<AttachmentPickerMode, Unit>onModeSelectedprivate final Function1<RowScope, Unit>trailingContent
-
Constructor Summary
Constructors Constructor Description AttachmentTypeSystemPickerParams(Channel channel, MessageMode messageMode, Function1<AttachmentPickerMode, Unit> onModeSelected, Function1<RowScope, Unit> trailingContent)
-
Method Summary
Modifier and Type Method Description final ChannelgetChannel()final MessageModegetMessageMode()final Function1<AttachmentPickerMode, Unit>getOnModeSelected()final Function1<RowScope, Unit>getTrailingContent()-
-
Constructor Detail
-
AttachmentTypeSystemPickerParams
AttachmentTypeSystemPickerParams(Channel channel, MessageMode messageMode, Function1<AttachmentPickerMode, Unit> onModeSelected, Function1<RowScope, Unit> trailingContent)
- Parameters:
channel- Used to check channel capabilities.messageMode- Used to filter modes.onModeSelected- Called when user taps a button.trailingContent- Slot for custom content after the mode buttons.
-
-
Method Detail
-
getChannel
final Channel getChannel()
-
getMessageMode
final MessageMode getMessageMode()
-
getOnModeSelected
final Function1<AttachmentPickerMode, Unit> getOnModeSelected()
-
getTrailingContent
final Function1<RowScope, Unit> getTrailingContent()
-
-
-
-