Get Config Values
Here is the complete guide to get all config values.
Last updated
Was this helpful?
Here is the complete guide to get all config values.
Last updated
Was this helpful?
Config values are Divided in to 2 Parts.
These are need bot to work without any errors.
APP_ID
and API_HASH
For this Go to . Then create a new app (If you haven't did this already). Then simply copy App Id and Api Hash.
SESSION_NAME
For this you need Pyrogram String Session. To Get that you can run the . Alternatively You can use or .
BOT_TOKEN
To get this go to . Make a new bot by sending /newbot
command to . Follow the given instructions and finish the setup. Then Copy the Bot Token.
ARQ_API_KEY
BOT_OWNER
SUDO_USERS
BOT_USERNAME
LOG_CHANNEL
HEROKU_API_KEY
and HEROKU_APP_NAME
DATABASE_URL
These aren't needed to Deploy your bot. If you need better customized bot fill these.
THUMB_URL
UPDATES_CHANNEL
UPSTREAM_REPO
This is the Github Repository URL of your bot. Needed for Update module of your bot. Set this if you're using your own custom fork. (Recommended to keep it default)
For this go to and start it. Then Click on "Commands ❓" button in start message. Then click on "API KEY" button. Send /get_key
command to . Now simply give you name and get the ARQ API Key.
This is your telegram user id. To get this just go to and start it. Then send /info
command. Finally copy ID.
This is your bot's admins. Better Set give same of your Telegram Account
This is you bot's username that we created in . Add this value without "@"
To get this go to Telegram and Make a new private channel. Then Forward a message from that channel to and Copy the Channel ID.
HEROKU_APP_NAME
is your Heroku app name that you entered first. To get HEROKU_API_KEY
go to Your , scroll down and find API Key section. Then click on Reveal button and Get the Api Key
Get Your Own MongoDB url at . If You can't understand how to do that .
This is the thumbnail url. Change this to your own if needed. (Use to upload your thumbnail)
Link to Your Bot's updates channel. Fill without "@" . Keep it default to support this work .