2017-07-04 32 views
0

我想爲我的電報客戶端啓用兩步驗證併爲其設置密碼。用電報設置密碼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; 

他們都沒有任何相關的參數沒有返回任何有用的東西。

回答

2

我用this非官方網站,試試這個:

account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool;