Attributes
str
Identifier for the command, this will be used in the UI.
str
The lucide icon name for the command. See https://lucide.dev/icons/.
str
The description of the command.
boolean
Whether to display the command as a button in the message composer.
boolean
Whether to keep the command active after the user sent the message.
Set available commands
You can set the available commands at any moment using thecl.context.emitter.set_commands method.

The user selecting a command
Since version 2.1.0. If you use a SQL-based data layer, the
steps table requires a command column. See the migration guide.