-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
account.UpdatePasswordSettings INPUT_FETCH_ERROR #7
Comments
@1pyxa1 What are you trying to do exactly? Remove the password? Change it? ...? |
@delivrance Trying to set new password first time. |
I found the solution. Tested it for setting new password first time and for changing it. Works great.
Maybe it would be useful to add it to pyrogram/client/client.py for other users, what do you think? |
Definitely! Being a pretty young project there's a lot to be added and suggestions are very welcome. I was thinking about adding three different methods to create, change and remove the password, or maybe a single one that does everything? What do you think? |
Personally I would prefer a single one that does everything. Maybe put there little more explanation. Because the code for three different methods will be pretty much the same. But of course it's up to you. And i think it's not so important which way to choose. Here is my final tested version with removing a password also:
|
I've opted for three distinct methods, I think it's simpler to use this way: 8cc0fe1 |
Hi there!
Trying to use functions.account.UpdatePasswordSettings with an empty current password and have an error
here is my function:
Would be grateful for any advice!
The text was updated successfully, but these errors were encountered: