MemberAction

interface MemberAction

A self-describing member action that carries display info and an execution handler. Follows the same pattern as io.getstream.chat.android.ui.common.state.channels.actions.ChannelAction.

Inheritors

Properties

Link copied to clipboard
abstract val icon: Int

Drawable resource for the action icon.

Link copied to clipboard

Whether this action is destructive (e.g. ban, remove).

Link copied to clipboard
abstract val label: String

Human-readable label for the action.

Link copied to clipboard
abstract val member: Member

The member this action targets.

Link copied to clipboard
abstract val onAction: () -> Unit

The handler to execute when the action is confirmed.