Open gurland opened 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.
.session
As a workaround, I just have a bash script swap out the Config.session file before I invoke the program.
Config.session
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.