# طلب رقم الهاتف

{% hint style="info" %}
يعمل في تيليجرام وفايبر.
{% endhint %}

عند إنشاء الزر، تحتاج إلى اختيار **"طلب رقم الهاتف."**

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

عند النقر على الزر، ستفتح نافذة تطلب تأكيد نقل الرقم:

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

إذا وافق العميل على طلب رقم الهاتف، فسيتم إرسال رقمه إلى الروبوت كرسالة عادية.

{% hint style="success" %}
سيتم حفظ رقم الهاتف تلقائيًا في المتغير `phone`.
{% endhint %}

## كيفية إنشاء زر "اتصال"

{% hint style="info" %}
حاليًا، يعمل فقط على فيسبوك.
{% endhint %}

1. عند إنشاء الزر، اختر **"اتصال (فيسبوك فقط)"** من القائمة.
2. املأ جميع الحقول المطلوبة التي تظهر.

<div data-with-frame="true"><figure><img src="/files/3d68e050d25cfc1f39fc5a34616b6dbf0ff0932c" 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/doc/ar/chatbot/builder/alazrar/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.
