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

chevron-rightDetailed Description for API_IDhashtag

2. API_HASH

chevron-rightDetailed Description for API_HASHhashtag

3. BOT_TOKEN

chevron-rightDetailed Description for BOT_TOKENhashtag
  • Go to @Botfatherarrow-up-right in Telegram

  • Type /mybots then choose your Bot.

  • Click on API Token button to get the BOT_TOKEN

4. SESSION_NAME

chevron-rightDetailed Description for SESSION_NAMEhashtag

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

chevron-rightDetailed Description for MONGODB_URLhashtag

Checkout this Telegrapharrow-up-right for Getting the MONGODB URL Tutorial.

6. BOT_USERNAME

chevron-rightDetailed Description for BOT_USERNAMEhashtag
  • Go to @Botfatherarrow-up-right 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

chevron-rightDetailed Description for OWNER_USERNAMEhashtag

8. OWNER_NAME

chevron-rightDetailed Description for OWNER_NAMEhashtag

9. OWNER_ID

chevron-rightDetailed Description for OWNER_IDhashtag

10. SUDO_USERS

chevron-rightDetailed Description for SUDO_USERShashtag

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_botarrow-up-right 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

chevron-rightDetailed Description for GROUP_SUPPORThashtag

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

chevron-rightDetailed Description for UPDATES_CHANNELhashtag

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

chevron-rightDetailed Description for UPSTREAM_REPOhashtag

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

chevron-rightDetailed Description for COMMAND_PREFIXEShashtag

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

chevron-rightDetailed Description for ALIVE_IMGhashtag

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

Or just Go to @hk_telegraph_botarrow-up-right and send your image, the Bot will upload it to telegra.pharrow-up-right for you and will send you the image Link.

Last updated