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 UpdatePasswordSettingsAsync(TLString currentPasswordHash, TLPasswordInputSettings newSettings, Action <TLBool> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLUpdatePasswordSettings { CurrentPasswordHash = currentPasswordHash, NewSettings = newSettings }; SendInformativeMessage("account.updatePasswordSettings", obj, callback, faultCallback); }