# Настройка для бота WhatsApp

{% hint style="info" %}

### Включение возможности отвечать цифрами:

{% endhint %}

Для того чтобы бот реагировал на цифры и сопоставлял их с пунктами меню, включите эту возможность в каждом блоке.

<figure><img src="/files/smpukzLw1l8Zg1tmp8ev" alt=""><figcaption></figcaption></figure>

### 2. Автоматическая генерация текстового меню для WhatsApp:

На момент написания статьи, WhatsApp не поддерживает кнопки для ботов, поэтому воспользуйтесь текстовым меню. Для этого в каждом блоке настройте автоматическую генерацию меню.

<figure><img src="/files/Ab3oIjzVho1FGd39aGdt" alt=""><figcaption><p>Настройка клавиатуры в редактирования блока</p></figcaption></figure>

<figure><img src="/files/09STiw2879DNStP0fpZA" alt=""><figcaption></figcaption></figure>

Таким образом пункты меню добавятся в сообщение от бота в в текстовом виде. Вы так же можете добавить префикс меню, который будет вставлен перед пунктами меню.

{% hint style="info" %}

### Если при переходе в бот WhatsApp не установить фразу, она будет состоять из секретного кода.

{% endhint %}


---

# 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://help.onebot.tech/onebot-help/messendzhery/whatsapp/nastroika-dlya-bota-whatsapp.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.
