# Кнопки

Кнопки значительно упрощают навигацию для пользователя внутри ваших сценариев.&#x20;

Для добавления кнопок, создадим действие "Отправить сообщение" (выбор на левом вспомогательном меню или щелчок правой кнопкой мыши в свободном месте экрана).

<figure><img src="/files/0Pz8ZumAniyrLJLACvLN" alt=""><figcaption></figcaption></figure>

В меню самого блока (справа) выберем "+Добавить кнопку"

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

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

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

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

Кроме того, можно выбрать, скрывать ли кнопки после использования, либо показывать их внутри сообщения (inline)

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

Так выглядит возможный результат:

![в Telegram](/files/wsOtIVMNQC2TaQzHxTGQ)

![Вконтакте](/files/1w5GhobTHiuMUg8zB07W)

Теперь вы знаете, как добавлять и настраивать кнопки в вашем боте!


---

# 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://docs.smartbotpro.ru/scenarii/deistviya/otpravit-soobshenie/knopki.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.
