# Buttons

Buttons make it much easier for the user to navigate within your scripts.&#x20;

To add buttons, let's create the "Send message" action (choose on the left auxiliary menu or right-click in an empty area of ​​the screen).

![](/files/Mh8lvZ2nQkJYjd8nJhSn)

In the menu of the block itself (on the right), select "+Add button"

![](/files/quTubWHHtDqjok9wBaJq)

When our button appears, click on it, and a customization menu will appear on the side, where you can enter text on the button, select the type and color, and delete the button.

![](/files/nLiOYSOptklnX7WcKQsj)

In addition, you can choose whether to hide the buttons after use, or show them inside the message (inline):

![](/files/u3UxGC9D5IzP4lMI6d08)

This is what a possible result looks like:

![в Telegram](/files/wsOtIVMNQC2TaQzHxTGQ)

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

Now you know how to add and customize buttons in your bot!


---

# 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.io/scripts/actions/send-a-message/buttons.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.
