# Переменные

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

{% hint style="info" %}
Примеры переменных:

* %username% - стандартные переменные
* {%var%} - пользовательская переменная
* \[%var%] - глобальная переменная
  {% endhint %}

![Раздел Настройки - Переменные](/files/-M9ZdPcbg_Bx0lhPutlR)

### Имена переменных

В именах переменных можно использовать следующие символы:&#x20;

* цифры (0-9)
* латинские буквы в нижнем регистре (a-z)
* нижнее подчеркивание (\_)

Примеры имен переменных:

> var, var\_1, 123var, 123

{% hint style="warning" %}
**Внимание!** Значение переменной должно быть не больше 4000 символов.
{% 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.senler.ru/senler/kanaly/vkontakte/peremennye.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.
