> For the complete documentation index, see [llms.txt](https://developer.konverse.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.konverse.ai/platform/embedded-functions/send-choice.md).

# Send Choice

Our platform lets you prompt visitor with a set of up-to 10 choices

```
ctx.sendChoice("Your text message", [{
            "title" : "Choice1",
            "value": "Choice1Value"
        }, {
            "title" : "Choice2",
            "value": "Choice2Value"
        }, {
            "title" : "Choice3",
            "value": "Choice3Value"
        }], variableName, requied);
```

| Parameter    | Description                                                                    |
| ------------ | ------------------------------------------------------------------------------ |
| TextMessage  | Text message to prompted                                                       |
| Buttons      | Set of buttons                                                                 |
| VariableName | Name of the variable in which the value will be saved when a button is clicked |
| required     | true or false; default false                                                   |
