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

Use only chat_id #28

Open
1 task
axtrace opened this issue Nov 15, 2018 · 0 comments
Open
1 task

Use only chat_id #28

axtrace opened this issue Nov 15, 2018 · 0 comments
Labels
Refactoring Good for programm, no affect on user

Comments

@axtrace
Copy link
Owner

axtrace commented Nov 15, 2018

Is your feature request related to a problem? Please describe.
Anywhere in code I use user_id and chat_id. I remember book file and position by user_id, and send message by chat_id. It looks redundantly

Describe the solution you'd like
Use only chat_id for remembering position and for sending messages

  • Check what will happen if user delete chat in his client and some time later join bot again for continue reading. Will it be the same chat_id?

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Now it's possible to upload book via group chat with bot and continue reading it through direct chat. So different

@axtrace axtrace added the Refactoring Good for programm, no affect on user label Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactoring Good for programm, no affect on user
Projects
None yet
Development

No branches or pull requests

1 participant