-
public final class ChannelInfoMemberOptionsKt
-
-
Method Summary
Modifier and Type Method Description final static List<MemberAction>buildDefaultMemberActions(Member member, Set<String> capabilities, Boolean isMuted, Boolean isBlocked, Function1<ChannelInfoMemberViewAction, Unit> onViewAction)Builds the default list of member actions for the member info modal sheet. -
-
Method Detail
-
buildDefaultMemberActions
@Composable() final static List<MemberAction> buildDefaultMemberActions(Member member, Set<String> capabilities, Boolean isMuted, Boolean isBlocked, Function1<ChannelInfoMemberViewAction, Unit> onViewAction)
Builds the default list of member actions for the member info modal sheet.
Each action is self-describing and carries its icon, label, and execution handler. Actions are filtered by channel capabilities and current state (muted, blocked, banned).
- Parameters:
member- The member targeted by the actions.capabilities- The set of own capabilities in the channel.isMuted- Whether the member's user is muted by the current user.isBlocked- Whether the member's user is blocked by the current user.onViewAction- Callback invoked when a view action is triggered.
-
-
-
-