Vars Information

List of all essential vars complete with information

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

1. API_ID

Detailed Description for API_ID
  • Go to my.telegram.org then Enter your Phone Number with your country code.

  • After, you are logged in click on API Development Tools.

  • 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.

2. API_HASH

Detailed Description for API_HASH
  • Go to my.telegram.org then Enter your Phone Number with your country code.

  • After, you are logged in click on API Development Tools.

  • 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

3. BOT_TOKEN

Detailed Description for BOT_TOKEN
  • Go to @Botfather in Telegram

  • Type /mybots then choose your Bot.

  • Click on API Token button to get the BOT_TOKEN

4. SESSION_NAME

Detailed Description for SESSION_NAME

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

Checkout How to Generate Session String

5. MONGODB_URL

Detailed Description for MONGODB_URL

Checkout this Telegraph for Getting the MONGODB URL Tutorial.

6. BOT_USERNAME

Detailed Description for BOT_USERNAME
  • Go to @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.

7. OWNER_USERNAME

Detailed Description for OWNER_USERNAME
  • Open your Telegram profile settings.

  • Then you will see your username there under the NickName.

8. OWNER_NAME

Detailed Description for OWNER_NAME
  • Open your Telegram profile settings.

  • Then you will see your Name there above the Username.

9. OWNER_ID

Detailed Description for OWNER_ID

10. SUDO_USERS

Detailed Description for SUDO_USERS

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 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.

11. GROUP_SUPPORT

Detailed Description for GROUP_SUPPORT

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

12. UPDATES_CHANNEL

Detailed Description for UPDATES_CHANNEL

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

13. UPSTREAM_REPO

Detailed Description for UPSTREAM_REPO

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 !

14. COMMAND_PREFIXES

Detailed Description for COMMAND_PREFIXES

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.

15. ALIVE_IMG

Detailed Description for ALIVE_IMG

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 and put the Telegraph Image Link to this var.

Or just Go to @hk_telegraph_bot and send your image, the Bot will upload it to telegra.ph for you and will send you the image Link.

Last updated