Skip to content

Deletes group messages after s specific time

License

Notifications You must be signed in to change notification settings

Vikramved/AutoDelete-V2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoDelete-V2

Delete group messages after a specific time

Variables

  1. API_ID : Get from my.telegram.org
  2. API_HASH : Get from my.telegram.org
  3. BOT_TOKEN : Your telegram bot token from @BotFather
  4. SESSION : Generate from here GenerateStringName
  5. GROUPS : ID of Groups (seperate by spaces)
  6. ADMINS : ID of Admins, messages from admins will not delete (seperate by spaces)
  7. TIME : Time in seconds

Make sure:

  • Bot is admin in Groups with delete permission
  • Account used to create SESSION is a member in Groups

Deploy in Heroku

Deploy

Deploy in your VPS

git clone https://github.com/Arun-TG/AutoDelete-V2
cd AutoDelete-V2
pip3 install -r requirements.txt
# <Create Variables appropriately>
python3 bot.py

Credits

About

Deletes group messages after s specific time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.4%
  • Procfile 1.6%