gurland / telegram-delete-all-messages

Delete all your messages in groups / supergroups using this python script
GNU General Public License v3.0
375 stars 91 forks source link

Add multiple account support #39

Open gurland opened 3 years ago

gurland commented 3 years ago

Implement ability to work with multiple accounts.

For CLI interactive mode we have to:

For default argument based CLI (should be implemented in #11) simply add argument with name/path to client session file.

Sessions in pyrogram are stored in .session files which are simply SQlite database files. https://docs.pyrogram.org/topics/storage-engines.

xanoni commented 3 years ago

As a workaround, I just have a bash script swap out the Config.session file before I invoke the program.