Delete group messages after a specific time INCLUDING MESSAGES FROM BOTS
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) EXAMPLE : -1001274443179ADMINS
: 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 ADMIN in Groups
git clone https://github.com/HithaishiDesai/Auto-Delete-Bot/tree/MODIFIED
cd AutoDelete-V2
pip3 install -r requirements.txt
# <Create Variables appropriately>
python3 bot.py