Skip to content

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!

Notifications You must be signed in to change notification settings

abirxdhack/Chat-ID-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Chat ID Bot

Description

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!

Features

  • 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 👮‍♂️

Setup

1. Clone the Repository

Clone the repository to get started with the bot.

git clone https://github.com/abirxdhack/Chat-ID-Bot.git
cd Chat-ID-Bot

2. Set Up Environment Variables

To configure the bot, you need to set up the environment variables.

  1. Copy the .env.example file:

    cp .env.example .env
  2. Edit the .env file:

    Open the .env file in your preferred text editor and fill in your credentials:

    • Telegram Credentials:
      • TELEGRAM_API_ID and TELEGRAM_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.
  3. Save the .env file.


Installation

Once your environment variables are configured, install dependencies and run the bot:

  1. Install required Python libraries:

    pip install -r requirements.txt
  2. Run the bot:

    python main.py

BotFather Commands

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 🙏

Usage

  • 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.

Multilingual Support

You can change the bot’s language using the /lang command to make it more accessible to a global audience.


Credits

This project was created by @yehudalev and @bisnuray, and developed and mixed or fixed by @abirxdhack.


About

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!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages