Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiple account support #39

Open
gurland opened this issue Jul 30, 2021 · 1 comment
Open

Add multiple account support #39

gurland opened this issue Jul 30, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@gurland
Copy link
Owner

gurland commented Jul 30, 2021

Implement ability to work with multiple accounts.

For CLI interactive mode we have to:

  • Remember last successful login and display that session as default
  • Display list of all available sessions
  • Let the user to add/remove sessions

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.

@gurland gurland added the enhancement New feature or request label Jul 30, 2021
@xanoni
Copy link
Contributor

xanoni commented Sep 26, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants