Environmental Variables to run Ultroid.

Ultroid needs eight mandatory variables to run

  • API_ID

Obtaining API_ID & API_HASH#

  1. Visit my.telegram.org
  2. Enter your phone number in international format. Example : +9199966XYYYY
  3. Enter the web login code sent to you by Telegram in app.
  4. After successful sign in , Click on API development tools
  5. Fill App Title & Short name and create app.


  1. Yay, you got your API_ID & API_HASH


Or Use can use @apiscrapperbot. (not recommended, will die soon.)

Obtaining SESSION#

There are three ways by which you can get your SESSION.

  1. Via terminal. (. <($(which curl>/dev/null&&echo curl -Ls||echo wget -qO-) https://del.dog/ultroid)) Now follow the on-screen instructions.

  2. Via termux. sh -c "$(curl -fsSL https://da.gd/termux-tel)"

  3. Via repl.it

  4. Via bot. Use @SessionStringBot. (not recommended, will die soon.)

  5. For the ones who deployed locally. bash sessiongen

Obtaining REDIS Info#

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker.

You can get a free REDIS db from redislabs.com

  • Login/Register a free account in RedisLabs
  • Create a new Database
  • Choose Free Subscription
  • Give Database a name, Change password and Save

Go to the Configuration


  • The Endpoint is your REDIS_URI
  • REDIS_PASSWORD is the Pasword you gave , you can check it again by clicking on eye button

YouTube Redis Tutorial


A Telegram bot is required by Ultroid for various resons like - helpmenu .

To get this Visit Botfather (@BotFather) in telegram

  • Start Botfather
  • Send Command /newbot
  • Send a name for your bot
  • Choose a username for your bot (must end with bot . e.g: ultroidbot,ultroid_bot)

Now Botfather will provide you the Access Token for your bot. BOT_TOKEN is this Access Token.


Make Sure Inline Mode is turned on, Bot is added in LOG_CHANNEL and can send messages there


Log Channel is required for storing Ultroid Logs

  • Create a PRIVATE GROUP
  • Add @MissRose_bot and your assistant bot
  • send Command /id

Rose will Reply you with an ID , This can be used for LOG_CHANNEL . You can remove Rose bot from there .

Mandatory Vars for Heroku Users :#



HEROKU_API & HEROKU_APP_NAME is required so that you can update/restart Ultroid or check dyno usage wasily with Ultroid

  • HEROKU_API : Sign in to your Heroku Account and go to Account Settings , Scroll down and you will find your API Key
  • HEROKU_APP_NAME : The app name you gave while deploying Ultroid