Chat ID Bot is an advanced Telegram bot designed to effortlessly fetch IDs for users, bots, groups, and channels. Whether you're a developer, admin, or user, this bot makes retrieving Telegram IDs quick and easy!
- Retrieve user IDs, bot IDs, group IDs, and channel IDs with a simple command. 🔍
- Supports private chats, group chats, and supergroups. 📜
- Easy-to-use interface with inline buttons and fast responses. 🚀
- Multilingual support for a wider audience 🌍
- Admin controls to manage the bot’s functions 👮♂️
Clone the repository to get started with the bot.
git clone https://github.com/abirxdhack/Chat-ID-Bot.git
cd Chat-ID-Bot
To configure the bot, you need to set up the environment variables.
-
Copy the
.env.example
file:cp .env.example .env
-
Edit the
.env
file:Open the
.env
file in your preferred text editor and fill in your credentials:- Telegram Credentials:
TELEGRAM_API_ID
andTELEGRAM_API_HASH
: Obtain these from my.telegram.org.TELEGRAM_BOT_TOKEN
: Create your bot via BotFather.
- Admin Settings:
ADMINS
: List of Telegram user IDs with admin privileges.
- Telegram Credentials:
-
Save the
.env
file.
Once your environment variables are configured, install dependencies and run the bot:
-
Install required Python libraries:
pip install -r requirements.txt
-
Run the bot:
python main.py
You can configure and interact with the bot using the following commands in BotFather:
/start - Start the bot ✅
/lang - Change language 🇺🇸
/help - Get help 🆘
/me - View your profile 👤
/add - Add files ➕
/admin - Access admin panel 👮♂️
/about - Learn about the bot ℹ️
/donate - Support the bot 🙏
- Private Chats: Start a conversation with the bot, and it will return your Telegram ID.
- Groups and Channels: Add the bot to a group or channel and use the
/id
command to get the group or channel’s ID. - Advanced Features: Admins can retrieve detailed information about users or chats, and control bot settings via the admin panel.
- Simple Bot.py: This Script Is Another Simple Script But Advanced Bot.
You can change the bot’s language using the /lang
command to make it more accessible to a global audience.
This project was created by @yehudalev and @bisnuray, and developed and mixed or fixed by @abirxdhack.