Slash commands can be used by your users to send a command to your app. For example,
/videoslash command which sends a notification to the Appear.in app to generate a video conference URL within that chat tab
/todoslash command which provides the user a quick way to create to-dos from a conversation
Your app can use a slash command when you want to provide your user a CLI to perform some action. Note that the user can perform the same action using a chat tab button or widget. However power users may prefer using a slash command. A user can always see the entire list of slash commands available from various apps by typing "/" -
A slash command comprises of a forward slash followed by the command name. Your slash command may also accept additional text.
/<commandName> <additional text>
In the Advanced Info section, enable the slash command.
Fill in the info below:
|Name of command||Yes||The name of the slash command|
|Short description||Yes||A short description of what the slash command does. This will be shown to the user against the slash command.|
|Syntax hint||No||A hint to the user on how to use the command|
|Select action for Slash command||Yes||Select an appropriate client action for this slash command.|