If you don't like telegram forwards, before sending a message, send the message to the bot, then forward the message that the bot returns to the user you were chatting with. Just send him File(s), Post(s) or Message(s) which you want to send to someone anonymously without leaking actual source, He will Hide actual Source (Forward Tag of real owner of that content from Post's header).
- Send any type of messages to the bot be a game, invoice, poll, etc. to get echoed message.
[ Private Commands ]
/start
- Initialize the bot/help
- Bots commands and How It works/policy
- Bots data usage and Privacy Policy/id
- Get Your telegram ID/isolate_sticker
- Isolate any sticker from its original pack/removewebpagepreview
- Use this command to remove webpage preview for a message/removelinks
- This command is used to remove hyperlinks from message./removecaption
- Use this command to remove caption from a media message/addcaption
- Use this command to add caption to a media message/removebuttons
- Use this command to remove buttons from a message/caption
- Use this message to enable/disable caption for all media messages that will be sent from now onwards/buttons
- Use this message to enable/disable buttons for all messages that will be sent from now onwards/reportbug
- Send a message to the bot Admin
[ Group Commands ]
/id
- Get the telegram ID of the group/copy
- Copy a message from chat to your Inbox/duplicate
- Duplicate a message and removes original one
Python wrapper used: PyTelegramBotAPI
Official Documentation: Telegram Bot API
Clone and install: ⚙️
-
Fork/Clone/Download this repo
git clone https://github.com/Itsydv/Enigma.git
-
Navigate to the directory
cd Enigma
-
Create a virtual environment for this project
python3 -m venv venv
Alternatively, you can use pipenv to create a virtual environment for this project.
-
Load the virtual environment
- On Windows Powershell:
.\venv\Scripts\activate.ps1
- On Linux and Git Bash:
source venv/bin/activate
- On Windows Powershell:
-
Run
pip install -r requirements.txt
-
Open the
config\config.py
file and edit all the fields like token, host, etc. -
Run the run.py script in the terminal/shell
- On Windows Powershell:
python run.py
- On Linux and Git Bash:
python3 run.py
- On Windows Powershell:
Special thanks to community group of pytba on Telegram for helping me to understand how to use the API.