# Кнопки в сообщении

Как добавить кнопки в сообщении?

В нужном блоке вашего сценария вы можете добавить кнопку используя блок "**Меню**".

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

{% hint style="info" %}
Как добавить ссылку в кнопку?
{% endhint %}

1\) В окне редактирования блока используйте значок шестеренки, для открытия раздела настроек кнопки.

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

2\) В открывшемся меню выберите **Тип команды - Ссылка,** укажите нужный адрес и сохраните изменения.

{% hint style="info" %}
Как настроить размещение кнопок в сообщении?
{% endhint %}

1\) Перейдите в нужный сценарий и в нужном блоке кликните на кнопку **Настройка Клавиатуры**.&#x20;

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

2\) В появившемся меню выберите нужный мессенджер и, используя графический редактор, настройте расположение кнопок.

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

{% hint style="info" %}
После добавления кнопок появилось троеточие в сообщении, как убрать?
{% endhint %}

Троеточие появляется когда в сообщении используются два типа кнопок: под сообщением и главное меню (как на скриншоте выше).&#x20;

Чтобы их убрать, используйте только одно расположение кнопок в сообщении. Так как показано на видео:

{% file src="/files/sMhFFfJH72ryHU9khaiT" %}


---

# 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/bloki-konstruktora/prostye/otpravka-soobshenii/knopki-v-soobshenii.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.
