예제 #1
0
        public void RecoverPasswordAsync(string code, Action <TLAuthAuthorization> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLAuthRecoverPassword {
                Code = code
            };

            SendInformativeMessage("auth.recoverPassword", obj, callback, faultCallback);
        }
예제 #2
0
        public void RecoverPasswordAsync(string code, Action <TLAuthAuthorization> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLAuthRecoverPassword {
                Code = code
            };

            const string caption = "auth.recoverPassword";

            SendInformativeMessage(caption, obj, callback, faultCallback, flags: RequestFlag.FailOnServerError | RequestFlag.WithoutLogin);
        }