# Bot qanday yaratiladi?

Telegram'da [@BotFather](https://t.me/BotFather) boti bilan chatga o'ting

<div align="left"><figure><img src="/files/VunkAZefLhAOtPdjp7nY" alt="" width="563"><figcaption></figcaption></figure></div>

Yangi bot yaratish uchun /newbot buyrug'ini yuboring&#x20;

<div align="left"><figure><img src="/files/zADekHzqoEjPZQljqn4F" alt="" width="563"><figcaption></figcaption></figure></div>

Botga name (nom) kiriting. Bu yerga do'koningiz yoki brendingiz nomini yozishingiz mumkin. Nom istalgan tilda bo'lishi mumkin (rus, ingliz yoki boshqa).

Botga username (nik) kiriting. Foydalanuvchi nomi faqat ingliz tilida bo‘lishi kerak va botusername\_bot formatiga mos kelishi zarur.

Bot username — bu yagona identifikator bo‘lib, u majburiy ravishda oxirida “bot” qo‘shimchasini o‘z ichiga oladi. U odatda pastki chiziq “\_” orqali yoki to‘g‘ridan-to‘g‘ri yoziladi.

{% hint style="warning" %}
Muhim: bot username (nik)ini bot yaratilgandan keyin o'zgartirib bo'lmaydi
{% endhint %}

<div align="left"><figure><img src="/files/bm30mgqn2KZD7scYtnsg" alt="" width="563"><figcaption></figcaption></figure></div>

@BotFather javobida bot tokenini quyidagi formatda yuboradi: 123456:ABC-DEF1234ghIki-zyx57W2v1u123ew11

Tokenni nusxalab oling va TGShop shaxsiy kabinetidagi “Telegram-bot tokeni” maydoniga joylashtiring.

<div align="left"><figure><img src="/files/mb6wzlSbyWfUYPRXiMO0" alt="" width="365"><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.tgshop.io/uz/telegramda-dokon-ochish/bot-qanday-yaratiladi.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.
