# Telegram WebApp

## ويدجت تيليجرام

الآن بعد أن عرفت كيفية إنشاء ويدجت وتضمينه على موقعك الإلكتروني، يمكنك إنشاء **زر تطبيق ويب في تيليجرام** يفتح موقعك كتطبيق داخل المراسِل.

{% hint style="info" %}
بدلاً من موقع إلكتروني كامل، يمكنك إنشاء صفحة هبوط تحتوي على قسم واحد يضم ويدجت الحجز عبر الإنترنت ومشاركتها مع عملائك كزر تيليجرام باستخدام زر تطبيق الويب.
{% endhint %}

**الخطوة 1. إنشاء الكتلة**

أنشئ كتلة في منشئ الدردشة الآلية.

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

{% hint style="success" %}
ملاحظة!

لا تنسَ حفظ إعدادات الكتلة.
{% endhint %}

**الخطوة 2. إنشاء زر WebApp**

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

بعد ذلك، في النافذة المنبثقة التي تم فتحها، أدخل نص الزر واختر نوع “WebApp”.

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

ثم اختر الموقع الإلكتروني الذي أنشأته في MaviBot.

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

إذا لم يكن موقعك الإلكتروني قد أُنشئ في MaviBot، فاختر علامة التبويب “تحديد رابط خارجي” وأدخل عنوان URL الخاص بموقعك الإلكتروني.

<div data-with-frame="true"><figure><img src="/files/1a3dbbd2626409710e568cdd1803c930d498d331" 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/booking/telegram-webapp.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.
