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 be deleted (seperate by space if multiple ADMINS)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/TG-Scheduled-Message-Delete-BOT
cd AutoDelete-V2
pip3 install -r requirements.txt
# <Create Variables appropriately>
python3 bot.py
- All Credits To ARUN