# Message

**Message (Response) Field**

<div data-with-frame="true"><figure><img src="/files/eDrZaskBzc67GK2lQivD" alt=""><figcaption></figcaption></figure></div>

**Message** is the field where you specify the text that will be sent to the user in a private message.\
This field can be left empty (by default, it is set to `#{none}` — which means to ignore the message). For example, if you want to send just an image without accompanying text.

In addition to text, you can include variables in the form `#{variable}` — this will output their values. It is also allowed to use mathematical expressions instead of variables, for example, `#{2 + 2}` will output the value 4.

### AI-generated message text

You can generate messages in this field using artificial intelligence:

<div data-with-frame="true"><figure><img src="/files/5DoRoKevcQv2Dc2XjQ9w" alt="" width="563"><figcaption></figcaption></figure></div>

Clicking the button will open a modal window for generating message text:

<div data-with-frame="true"><figure><img src="/files/vEtSnL7QCugG3N4dMeJ7" alt=""><figcaption></figcaption></figure></div>

In the empty field, describe the exact text you need, then click the "Generate" button:

<div data-with-frame="true"><figure><img src="/files/ABdciIRYZ2VABZxEFgXJ" alt=""><figcaption></figcaption></figure></div>

To insert the text into the message window, click the **"Insert text"** button:

<div data-with-frame="true"><figure><img src="/files/vv8LAWkCrq7ImqYoGWrL" alt="" width="563"><figcaption></figcaption></figure></div>

Next, you will see the text in the message field:

<div data-with-frame="true"><figure><img src="/files/z3YPkUBbxmKoJFjtfS8C" alt="" width="563"><figcaption></figcaption></figure></div>

### Additional buttons

**Below the Message field, there are additional buttons:**

1. **Add emoji:** built-in emojis of the builder

<div data-with-frame="true"><figure><img src="/files/IhMXiOLaNfnSvWUw8mMq" alt="" width="563"><figcaption></figcaption></figure></div>

2. **Insert variable: built-in variable templates.**

Clicking the button will open a window with descriptions of built-in variables.\
To add a variable, click on it.

<div data-with-frame="true"><figure><img src="/files/n57We1zf2B2f4HcLc5d6" alt="" width="563"><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="/files/DjMvn0ocTjT18F0sq7jO" alt=""><figcaption></figcaption></figure></div>

4. Markdown in Telegram: text formatting (markup) — this setting works only in Telegram.

<div data-with-frame="true"><figure><img src="/files/ci9NFFrPfRbOr6ZePvXY" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="warning" %}
If this block contains any of the following characters:\
`_`, `*`, `[`, `]`, `(`, `)`, `~`, `` ` ``, `>`, `#`, `+`, `-`, `=`, `|`, `{`, `}`, `.`, `!` —\
they must be escaped by adding a backslash `\` before them.

Otherwise, the message will not be sent at all. It does not matter which part of the text you are formatting.\
Example: `hello\. Glad to see *you*\!`
{% endhint %}

{% hint style="info" %}
For more details on working with Markdown,[ please refer to this article.](/chatbot/builder/telegram_messages.md)
{% endhint %}

4. **Protect content:** content protection from copying, works only in Telegram.\
   Protected messages cannot be forwarded, and on mobile devices, forwarding and screenshots are disabled.

<div data-with-frame="true"><figure><img src="/files/2VRRKxxgmln5bO0GixjZ" alt="" width="563"><figcaption></figcaption></figure></div>

5. HTML markup in Telegram: helps to style text in messages within the messenger.

<div data-with-frame="true"><figure><img src="/files/4h3PusgJ8QLMNPBBIaoM" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}
More about markup in Telegram is explained in the article "[Formatting message in Telegram](/chatbot/builder/telegram_messages.md)."
{% endhint %}

6. Send without sound

<div data-with-frame="true"><figure><img src="/files/sbsiHOqhUSgQtjZzKv6n" alt="" width="563"><figcaption></figcaption></figure></div>

Some messengers support sending messages silently (without sound), for example, Telegram:

<div data-with-frame="true"><figure><img src="/files/znMT68HWTONSFRcrO3Ac" alt="" width="375"><figcaption></figcaption></figure></div>

The chatbot has the same feature: the bot can send messages silently (without sound).

7. View-triggehed calback:

<div data-with-frame="true"><figure><img src="/files/C7Pw5SL1YGE6K7GYcu74" alt="" width="563"><figcaption></figcaption></figure></div>

A callback is a notification in the bot about some action performed by the client or an event in the project, which is displayed in the dialogue with the client.

The client does not see this notification, but you can configure a reaction to the callback.

8. **Save the message in the client's chat history**

<div data-with-frame="true"><figure><img src="/files/nJczC8QfSUbCrXo1wLKO" alt="" width="563"><figcaption></figcaption></figure></div>

This button is enabled by default. However, if you do not want to save certain messages in the conversation history with the client (specific messages in the funnel), you can disable this button.


---

# 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.mavibot.ai/chatbot/builder/setting/messages.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.
