GroupChannelInfoMemberSectionParams

constructor(members: ExpandableList<Member>, currentUser: User?, owner: User, totalMemberCount: Int, showAddButton: Boolean, onAddMembersClick: () -> Unit, onViewAction: (ChannelInfoViewAction) -> Unit)

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.