# 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                                                   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.konverse.ai/platform/embedded-functions/send-choice.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
