> For the complete documentation index, see [llms.txt](https://docs.mavibot.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mavibot.ai/doc/fr/faq/questions/menu.md).

# ...Créer un menu dans Telegram

Comment créer un tel menu dans Telegram :

![](https://lh3.googleusercontent.com/42QTb3xXilTpILmAyKp1jFJ14WCInxPP5KA-ZY8xn5MPQnBvt1J6QoFVu4mfsfaCwi980HXFLWpPZALqMINTc4Np5qrbniypWWX-MV3lsKdmwHdmq9SwGrkZrl54O3zOf_d7V9lt2PgFeV53Sg)

Vous devez contacter [BotFather](https://t.me/BotFather) sur Telegram.

Tapez la commande /mybots, choisissez le bot dont vous avez besoin. Dans le menu qui s’ouvre maintenant, vous devez choisir Modifier le bot, puis Modifier les commandes

![](https://lh5.googleusercontent.com/2EM5xl3CL0EbRVxdCtT35g0e1s0J5g5j8YfdXMTucV_wcYILHFYGDX-MMYv7fRU5B5rkpcYiSnJ07ODMWPWJqqoF69mUpxNC7S7Z12R68Ak_rB7iP2yU271wQYEXZ5ZyppM045iQdEcjz4q29A)

Ensuite, envoyez dans un seul message toutes les commandes que vous souhaitez que votre bot ait. Envoyez-les dans le format envoyé par BotFather ; les commandes sont écrites en minuscules. Vous recevrez alors un message indiquant que la liste des commandes a été mise à jour.

![](https://lh5.googleusercontent.com/h3YQy_NCojMWAMKE0ak9BECkZ_X5dBFg6Nm30yVqmtmagt35kscv4OhelhrVeSWs7nzxVpx7t5TNimd3ebSUdsrldZKRBKgJIKj2xygpmlUII6a3QYvad2lJ38wlykpguTbJ6rvf1ApK2hl1DQ)

Ensuite, vous ouvrez Salebot, ouvrez le projet auquel le bot est connecté. Créez les blocs « Vérification de condition principale » ou « Pas d’état avec condition », dans lesquels vous renseignez les commandes, et dans le champ « Texte du message », vous devez mettre les textes qui seront envoyés en réponse.

![](https://lh6.googleusercontent.com/8DpnFe63ChipmTU3cLku1PLncrBvq9A3MGQHBJ4KLnGkPJOLZ-g_WE36IIVbYF5rYE7RVRX_j2ySH_D_2uMJtKGpJlBUH7SyiWdWU1ysfPGAOftPRiRkNgxNpwFbGBGtz-QVDNX-jy-LLvUX7g)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.mavibot.ai/doc/fr/faq/questions/menu.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
