# Vars Information

These are the required vars need to setup to make Veez Stream Bot functional.

### 1. API\_ID

<details>

<summary>Detailed Description for API_ID</summary>

* Go to [my.telegram.org](https://my.telegram.org/) then Enter your Phone Number with your country code.
* After, you are logged in click on [API Development Tools](https://my.telegram.org/apps).
* Enter Anything as App name and App short name, Enter my.telegram.org in url section
* That’s it, You'll get your **API\_ID**.

</details>

### 2. API\_HASH

<details>

<summary>Detailed Description for API_HASH</summary>

* Go to [my.telegram.org](https://my.telegram.org/) then Enter your Phone Number with your country code.
* After, you are logged in click on [API Development Tools](https://my.telegram.org/apps).
* Enter Anything as App name and App short name, Enter my.telegram.org in url section
* That’s it, You'll get your **API\_HASH**

</details>

### 3. BOT\_TOKEN

<details>

<summary>Detailed Description for BOT_TOKEN</summary>

* Go to [@Botfather](https://t.me/botfather) in Telegram
* Type `/mybots` then choose your Bot.
* Click on API Token button to get the BOT\_TOKEN

</details>

### 4. SESSION\_NAME

<details>

<summary>Detailed Description for SESSION_NAME</summary>

The Pyrogram Session String of a Telegram account which will be used for joining Group Calls for streaming.

[Checkout How to Generate Session String](/videostreambot/deployment/string-session.md)

</details>

### 5. MONGODB\_URL

<details>

<summary>Detailed Description for MONGODB_URL</summary>

Checkout [this Telegraph](https://telegra.ph/How-to-Get-mongodb-url-02-18) for Getting the MONGODB URL Tutorial.

</details>

### 6. BOT\_USERNAME

<details>

<summary>Detailed Description for BOT_USERNAME</summary>

* Go to [@Botfather](https://t.me/botfather) in Telegram
* Type `/mybots` then choose your Bot.
* Then you'll see the list of the Bot Username and choose username of your Music Bot.

</details>

### 7. OWNER\_USERNAME

<details>

<summary>Detailed Description for OWNER_USERNAME</summary>

* Open your Telegram [profile settings](tg://settings).
* Then you will see your username there under the NickName.

</details>

### 8. OWNER\_NAME

<details>

<summary>Detailed Description for OWNER_NAME</summary>

* Open your Telegram [profile settings](tg://settings).
* Then you will see your Name there above the Username.

</details>

### 9. OWNER\_ID

<details>

<summary>Detailed Description for OWNER_ID</summary>

* Go to [@username\_to\_id\_bot](https://t.me/username_to_id_bot) and Start the Bot.
* Then the Bot will Give your id and just copy it.

</details>

### 10. SUDO\_USERS

<details>

<summary>Detailed Description for SUDO_USERS</summary>

This var will be used to let user access the Sudo Feature, however the user id must be in the list of sudo users that must be set via this var.

You can also set/fill this var just use your id.

* To get the user id, Go to [@username\_to\_id\_bot](https://t.me/username_to_id_bot) and Give the username of the user that you want to add to sudo user list.
* The Bot will give you the id of the user that you gave their username.

❓ For multiple user id you must separate it with space.

</details>

### 11. GROUP\_SUPPORT

<details>

<summary>Detailed Description for GROUP_SUPPORT</summary>

If you have a Support Group for your Music Bot you can set this var into your own value.

But only **Link** format can be accepted for this var value and Don't use @ symbol !

* Example: <https://t.me/VeezSupportGroup>

</details>

### 12. UPDATES\_CHANNEL

<details>

<summary>Detailed Description for UPDATES_CHANNEL</summary>

If you have a Support Channel for your Music Bot you can set this var into your own value.

But only **Link** format can be accepted for this var value and Don't use @ symbol !

* Example: <https://t.me/levinachannel>

</details>

### 13. UPSTREAM\_REPO

<details>

<summary>Detailed Description for UPSTREAM_REPO</summary>

This is an important thing that needed for updater feature, while you running the update command, Bot will push the update from the Repo url that you set for this value.

If you deployed from Repo that you modified, set this var with your forked repo url. If not, just leave it as it and don't touch it !

</details>

### 14. COMMAND\_PREFIXES

<details>

<summary>Detailed Description for COMMAND_PREFIXES</summary>

Command Prefixes is the handler that will be used for Triggering the command of your Music Bot.

* Default handler: `/ ! . $`

You can add more handler into the list above.

</details>

### 15. ALIVE\_IMG

<details>

<summary>Detailed Description for ALIVE_IMG</summary>

This var is used for alive command. That command is used image as a cover of the Bot status caption.

You can set your own costume image for this var value by uploading your image to [telegra.ph](https://telegra.ph) and put the Telegraph Image Link to this var.

Or just Go to [@hk\_telegraph\_bot](https://t.me/hk_telegraph_bot) and send your image, the Bot will upload it to [telegra.ph](https://telegra.ph) for you and will send you the image Link.

</details>


---

# 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://levina.gitbook.io/videostreambot/vars/vars-information.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.
