You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: msteams-platform/bots/how-to/conversations/prompt-suggestions.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Suggested actions help users continue conversations with your bot.
37
37
38
38
:::column-end:::
39
39
40
-
:::row-end:::
40
+
:::row-end:::
41
41
42
42
## Prompt starters
43
43
@@ -47,20 +47,20 @@ Suggested actions help users continue conversations with your bot.
47
47
>
48
48
> * Prompt starters are only supported for one-on-one chat bots.
49
49
50
-
To enable prompt starters, define the `commands` property in your bot's app manifest. Each command now contains four fields, a `title`, `description`, `type`, and `prompt`.
51
-
- The `title` field is the text shown in the prompt starter. When selected, this text is populated into the compose box.
52
-
- The `description` field describes what the users accomplish.
53
-
- The `type` field indicates whether the bot command is a basic command or a prompt.
54
-
Set `type` to **prompt** and provide the text in the prompt field.
55
-
- The `prompt`field defines the text to populate in the compose box, when the command is a prompt type.
50
+
To enable prompt starters, define the `commands` property in your bot's app manifest. Each command contains four fields, `title`, `description`, `type`, and `prompt`.
51
+
52
+
* The `title` field is the text shown in the prompt starter. When selected, this text is populated into the compose box.
53
+
* The `description` field describes what the users accomplish.
54
+
* The `type` field indicates whether the bot command is basic or prompt. Set `type` to **prompt** and provide the text in the prompt field. When selected, the prompt text appears in the compose box instead of the title or description.
55
+
* The `prompt`field specifies the text that appears in the compose box for a prompt command. It supports up to 4,000 characters.
56
56
57
57
>[!NOTE]
58
58
>
59
59
>If you're building an agent, you must set `type` to **prompt** and provide a valid prompt value. If the `prompt` field is empty, the app manifest fails validation during submission.
60
60
61
61
## Define `commands` in app manifest
62
62
63
-
To define `commands` in your app manifest, you can either use **Developer Portal** or add them manually in the app manifest.
63
+
To define `commands` in your app manifest, you can either use **Developer Portal** or add them manually in the app manifest.
0 commit comments