ID Bot @TheIdentityBot

A star ⭐ from you means a lot to us!

Telegram bot to get id of any user, group, bot, channels and even stickers.

Open Source Love svg1


Deploy to Heroku


  1. Tap on above button and fill API_ID, API_HASH, BOT_TOKEN (and MUST_JOIN).
  2. Then tap “Deploy App” below it. Wait till deploying is complete (will take atmost 2 minutes).
  3. After deploying is complete, tap on “Manage App”
  4. Check the logs to see if your bot is ready!

Local Deploying

  1. Clone the repo

    git clone
  2. Get a DATABASE_URL. If you don’t know how, deploy using Heroku Button only or delete database things as it’s not a compulsion.

  3. Edit and fill the needed variables

  4. Turn on “Inline Mode” of your bot!

  5. Enter the directory

    cd ID_Bot
  6. Run the file


Environment Variables

Mandatory Vars

  • API_ID – Get this from
  • API_HASH – Get this from
  • BOT_TOKEN – Get this from @BotFather
  • DATABASE_URL – Will be automatically added by Heroku.
  • MUST_JOIN – Username/ID of your telegram channel/group.


More features soon if suggested by you ?

  1. Telegram bot to give id of any user, group, bot, channels and even stickers.
  2. Support for using in groups and channels
  3. Support for Inline Mode
  4. Also support to get id by Forwarding any message to the bot from users, bots, channels and even anonymous admins.
  5. Get id from usernames too.


That’s on you mainly…

PRs Welcome



Channel :- @StarkBots

Group Chat :- @StarkBotsChat


ForTheBadge made-with-python

ForTheBadge built-with-love

ForTheBadge makes-people-smile