Telegram bot to delete messages after specific time
API_ID
: Get from my.telegram.orgAPI_HASH
: Get from my.telegram.orgBOT_TOKEN
: Your telegram bot token from @BotFatherSESSION
: Generate from hereCHATS
: ID of Chats (seperate by spaces)TIME
: Time in secondsDATABASE_URI
: MongoDB URI, get from mongodb.com (watch video)WHITE_LIST
: messages from these users will not be deleted (User ID seperated by spaces) - OptionalBLACK_LIST
: only message from these users will be deleted (User ID seperated by spaces) - Optional
- Bot is admin in Chats with delete permission
- Account used to create
SESSION
is a member in Chats
VPS
Install latest version of Python Create variables approximatelygit clone https://github.com/arun017s/AutoDelete cd AutoDelete pip3 install -r requirements.txt python3 main.py
Join in our Support Group for help & feedback
🌠 Star & Fork the repo
Licensed under GNU GPL v3.0
Selling The Codes To Other People For Money Is Strictly Prohibited.