public void CheckPasswordAsync(TLInputCheckPasswordBase password, Action <TLAuthorization> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLCheckPassword { Password = password }; SendInformativeMessage("account.checkPassword", obj, callback, faultCallback); }
public void GetPasswordSettingsAsync(TLInputCheckPasswordBase password, Action <TLPasswordSettings> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLGetPasswordSettings { Password = password }; SendInformativeMessage("account.getPasswordSettings", obj, callback, faultCallback); }
public void UpdatePasswordSettingsAsync(TLInputCheckPasswordBase password, TLPasswordInputSettings newSettings, Action <TLBool> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLUpdatePasswordSettings { Password = password, NewSettings = newSettings }; SendInformativeMessage("account.updatePasswordSettings", obj, callback, faultCallback); }
public void GetTmpPasswordAsync(TLInputCheckPasswordBase password, TLInt period, Action <TLTmpPassword> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLGetTmpPassword { Password = password, Period = period }; SendInformativeMessage("account.getTmpPassword", obj, callback, faultCallback); }