# Request phone number

{% hint style="info" %}
It works in Telegram and Viber.
{% endhint %}

When creating the button, you need to select **"Request the phone number."**

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

When the button is clicked, a window will open asking to confirm the number transfer:

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

If the client approves the phone number request, their number is sent to the bot as a standard message.

{% hint style="success" %}
The phone number will be automatically saved in the variable `phone`.
{% endhint %}

## How to create "Call" button

{% hint style="info" %}
Currently, it works only on Facebook.
{% endhint %}

1. When creating the button, choose the **"Call (Facebook only)"** function from the list.
2. Fill in all the required fields that appear.

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


---

# 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/buttons/phone.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.
