A star ⭐ from you means a lot to us!
Telegram bot to delete service messages in groups.
Table of Contents
- Tap on above button and fill
API_ID
,API_HASH
,BOT_TOKEN
. Alternatively fillOWNER_ID
andOWNER_NAME
. Note : Fill both or leave both unless bot won't work. - Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
- After deploying is complete, tap on "Manage App"
- Check the logs to see if your bot is ready!
-
Clone the repo
git clone https://github.com/MysteryBots/DeleteEventsBot
-
Edit
Config.py
and fill the needed variables by following this -
Enter the directory
cd DeleteEventsBot
-
Run the file
python3 delevents.py
API_ID
- Get this from my.telegram.org or @TgOrgBotAPI_HASH
- Get this from my.telegram.org or @TgOrgBotBOT_TOKEN
- Get this from @BotFather
(fill both or neither)
OWNER_ID
- Get it from @MissMiley_bot by sending /id to it.OWNER_NAME
- Your Name (to be shown as owner in bot)
More features soon, this is an minimal example :)
- Delete Telegram Service Messages like "joined", "left", "pinned", etc.
- Specify owner's account to get help or something.
That's on you mainly...
- Add DB to specify what to delete and what not to.
- Show owner his/her bot's stats.
Contributions are heartily accepted.
- Dan Tès for his Pyrogram Library
- @The_Firefrost for the idea.
Channel :- @MysteryBots
Group Chat :- @MysteryBotsChat