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