Skip to content

Commit 7993716

Browse files
committed
feat: document persistent attribute of command
1 parent ae37e5e commit 7993716

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

concepts/command.mdx

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ Commands are a great way to capture user intent in a deterministic way.
2222
Whether to display the command as a button in the message composer.
2323
</ParamField>
2424

25+
<ParamField path="persistent" type="boolean" optional>
26+
Whether to keep the command active after the user sent the message.
27+
</ParamField>
28+
29+
2530
## Set available commands
2631

2732
You can set the available commands at any moment using the `cl.context.emitter.set_commands` method.

0 commit comments

Comments
 (0)