Exemplo n.º 1
0
        public void DeleteAccountAsync(string reason, Action <bool> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLAccountDeleteAccount {
                Reason = reason
            };

            SendInformativeMessage("account.deleteAccount", obj, callback, faultCallback);
        }
Exemplo n.º 2
0
        public void DeleteAccountAsync(string reason, Action <bool> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLAccountDeleteAccount {
                Reason = reason
            };

            const string caption = "account.deleteAccount";

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