Exemplo n.º 1
0
        public void CheckPasswordAsync(byte[] passwordHash, Action <TLAuthAuthorization> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLAuthCheckPassword {
                PasswordHash = passwordHash
            };

            SendInformativeMessage("auth.checkPassword", obj, callback, faultCallback);
        }
Exemplo n.º 2
0
        public void CheckPasswordAsync(byte[] passwordHash, Action <TLAuthAuthorization> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLAuthCheckPassword {
                PasswordHash = passwordHash
            };

            const string caption = "auth.checkPassword";

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