Giter Site home page Giter Site logo

Comments (2)

gurland avatar gurland commented on May 28, 2024

From ixearth's reply to #5

I would recommend to add multiple command-line arguments such like

-type group supergroup -id

The value of -type can be private, group, supergroup or channel, the id can be chat id of any of them (the one need to add quote characters when the id was negative number). Users should also be able to get chat IDs by using the script.

btw is "Saved Message" also being considered as personal chat? If it is then maybe it should be noted in the help message to avoid data loss. the one may don't think "Saved Message" as any of that four chat type. (you may add the dialogue to ask user to type yes to confirm, it won't be a problem if the one could run it as yes | cleaner.py when he needs to run it in non-interactive mode)

The reason I need to delete all of my chat message is I want to delete them before I delete my account, this use case is very rare, so I think -type is enough for such needs and -all is not necessary.

I need to delete messages from certain groups and private chats every period of time, so -id would be much useful for me to run the script with crontab.

from telegram-delete-all-messages.

gurland avatar gurland commented on May 28, 2024

A BraveSail suggestion in #49

It would be great to use a command line with args to exclude or include some groups by ID, So people can write a crontab schedule to delete messages during a specified time.

from telegram-delete-all-messages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.