使用 Telegram TL 设置密码
Set password with Telegram TL
我想为我的电报客户端启用两步验证并为其设置密码。
我在官方文档中找不到任何提示或任何用于此目的的函数,但我还是尝试了以下函数:
auth.recoverPassword#4ea56e92 code:string = auth.Authorization
auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery
auth.checkPassword#0a63011e password_hash:bytes = auth.Authorization
auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization;
None 其中没有任何相关参数 return 没有任何用处。
我使用 this 非官方网站,试试这个:
account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool;
我想为我的电报客户端启用两步验证并为其设置密码。
我在官方文档中找不到任何提示或任何用于此目的的函数,但我还是尝试了以下函数:
auth.recoverPassword#4ea56e92 code:string = auth.Authorization
auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery
auth.checkPassword#0a63011e password_hash:bytes = auth.Authorization
auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization;
None 其中没有任何相关参数 return 没有任何用处。
我使用 this 非官方网站,试试这个:
account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool;