public void UpdatePasswordSettingsAsync(byte[] currentPasswordHash, TLAccountPasswordInputSettings newSettings, Action <bool> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLAccountUpdatePasswordSettings { CurrentPasswordHash = currentPasswordHash, NewSettings = newSettings }; SendInformativeMessage("account.updatePasswordSettings", obj, callback, faultCallback); }
public void UpdatePasswordSettingsAsync(byte[] currentPasswordHash, TLAccountPasswordInputSettings newSettings, Action <bool> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLAccountUpdatePasswordSettings { CurrentPasswordHash = currentPasswordHash, NewSettings = newSettings }; const string caption = "account.updatePasswordSettings"; SendInformativeMessage(caption, obj, callback, faultCallback, flags: RequestFlag.FailOnServerError | RequestFlag.WithoutLogin); }
public virtual void setNewSettings(TLAccountPasswordInputSettings newSettings) { this.newSettings = newSettings; }
public override void deserializeBody(InputStream stream, TLContext context) { this.currentPasswordHash = StreamingUtils.readTLBytes(stream, context); this.newSettings = StreamingUtils.readTLObject(stream, context); }