GroupChannelInfoMemberSectionParams
data class GroupChannelInfoMemberSectionParams(val members: ExpandableList<Member>, val currentUser: User?, val owner: User, val totalMemberCount: Int, val showAddButton: Boolean, val onAddMembersClick: () -> Unit, val onViewAction: (ChannelInfoViewAction) -> Unit)
Parameters for ChatComponentFactory.GroupChannelInfoMemberSection.
Parameters
members
The expandable list of members.
currentUser
The currently logged in user.
owner
The owner of the channel.
totalMemberCount
The total number of members.
showAddButton
Whether to show the "Add" button.
onAddMembersClick
Action invoked when the "Add" button is clicked.
onViewAction
Action invoked when a view action is triggered.
Constructors
Link copied to clipboard
constructor(members: ExpandableList<Member>, currentUser: User?, owner: User, totalMemberCount: Int, showAddButton: Boolean, onAddMembersClick: () -> Unit, onViewAction: (ChannelInfoViewAction) -> Unit)