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);
        }
示例#2
0
        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);
        }