The all-seeing Telegram bot operates in business mode, making it a powerful tool for Telegram Premium users. It allows the retrieval of the content of messages that other users have edited or deleted in private chats with the bot's owner. The bot retrieves the original content from its database and notifies the owner. Additionally, it identifies new users who message the owner and sends their Telegram ID.
- Track Edited Messages
- Track Deleted Messages
- Detect New Users
- Multilingual Support
-
Open Telegram and start a chat with @BotFather:
- Send
/start
and/newbot
.- Enter the bot's name.
- Set a unique username.
- Copy the token provided by @BotFather.
- Send
-
Enable business mode:
- Send
/mybots
to @BotFather and select your bot. - Go to Bot Settings → Business Mode → Turn on.
- Send
-
Add the bot to Telegram Business:
- Navigate to Telegram Settings → Telegram Business → Chatbots.
- Enter the bot's username.
- Start a chat with @pfauberg_bot.
- Send
/start
to the bot. - The bot will respond with your Telegram user ID. Copy this ID.
- Rename the
config_example.ini
file toconfig.ini
in the root directory. - Replace the placeholder values with your own:
token - Your Bot Token here
user_id - Your Telegram User ID here
name - Your timezone here
language - Your language here
- Find your timezone here.
- Use the format
Region/City
(e.g.,Europe/London
) in yourconfig.ini
file.
- Clone the repository to your local machine:
git clone https://github.com/Pfauberg/all-seeing-Telegram-bot
- Navigate to the project directory:
cd all-seeing-Telegram-bot
- Install the required dependencies:
pip install -r requirements.txt
- Run the bot:
python main.py
To add a new language:
- Use an existing file in the
languages/
directory (e.g.,en.py
orru.py
) as a template or create your own file. - Update the
language
parameter inconfig.ini
(e.g., `language = "en").
👤 [JOHN]
ID: 123123123
✏️ [JOHN] 123123123
Message from 24/12/24 22:03
Changed from:
"QWERTY"
To:
"123456"
🗑️ [JOHN] 123123123
Message from 24/12/24 22:03
Deleted:
"123456"