-
public final class ChannelInfoOptionItemParamsParameters for ChatComponentFactory.ChannelInfoOptionItem.
-
-
Field Summary
Fields Modifier and Type Field Description private final ChannelInfoViewState.Content.Optionoptionprivate final BooleanisGroupChannelprivate final Function1<ChannelInfoViewAction, Unit>onViewAction
-
Constructor Summary
Constructors Constructor Description ChannelInfoOptionItemParams(ChannelInfoViewState.Content.Option option, Boolean isGroupChannel, Function1<ChannelInfoViewAction, Unit> onViewAction)
-
Method Summary
Modifier and Type Method Description final ChannelInfoViewState.Content.OptiongetOption()final BooleangetIsGroupChannel()final Function1<ChannelInfoViewAction, Unit>getOnViewAction()-
-
Constructor Detail
-
ChannelInfoOptionItemParams
ChannelInfoOptionItemParams(ChannelInfoViewState.Content.Option option, Boolean isGroupChannel, Function1<ChannelInfoViewAction, Unit> onViewAction)
- Parameters:
option- The channel info option to display.isGroupChannel- Whether the channel is a group channel.onViewAction- Action invoked when a view action is triggered.
-
-
Method Detail
-
getOption
final ChannelInfoViewState.Content.Option getOption()
-
getIsGroupChannel
final Boolean getIsGroupChannel()
-
getOnViewAction
final Function1<ChannelInfoViewAction, Unit> getOnViewAction()
-
-
-
-