Delete group messages after a specific time
API_ID
: Get from my.telegram.orgAPI_HASH
: Get from my.telegram.orgBOT_TOKEN
: Your telegram bot token from @BotFatherSESSION
: Generate from hereGROUPS
: ID of Groups (seperate by spaces)ADMINS
: ID of Admins, messages from admins will not delete (seperate by spaces)TIME
: Time in seconds
- Bot is admin in Groups with delete permission
- Account used to create SESSION is a member in Groups
git clone https://github.com/Arun-TG/AutoDelete-V2
cd AutoDelete-V2
pip3 install -r requirements.txt
# <Create Variables appropriately>
python3 bot.py