AttachmentCommandPickerParams

constructor(pickerMode: CommandPickerMode, commands: List<Command>, onCommandSelected: (Command) -> Unit, messageAction: MessageAction? = null)

Parameters

pickerMode

The command picker mode.

commands

Available commands.

onCommandSelected

Invoked when a command is tapped, regardless of messageAction.

messageAction

The composer action currently active; drives each item's enabled state. null treats every command as enabled.