buildDefaultMemberActions

fun buildDefaultMemberActions(member: Member, capabilities: Set<String>, isMuted: Boolean, isBlocked: Boolean, onViewAction: (ChannelInfoMemberViewAction) -> Unit): List<MemberAction>

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).

Return

The list of member actions to display.

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.