AttachmentCommandPickerParams

data class AttachmentCommandPickerParams(val pickerMode: CommandPickerMode, val commands: List<Command>, val onCommandSelected: (Command) -> Unit, val messageAction: MessageAction? = null)

Parameters for ChatComponentFactory.AttachmentCommandPicker.

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.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard