MessageComposerCommandSuggestionItemParams

data class MessageComposerCommandSuggestionItemParams(val command: Command, val onCommandSelected: (Command) -> Unit)

Parameters for ChatComponentFactory.MessageComposerCommandSuggestionItem.

Parameters

command

The command for which the suggestion is rendered.

onCommandSelected

Action invoked when the command is selected.

Constructors

constructor(command: Command, onCommandSelected: (Command) -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard