From acdfab2106d17e7dc8c9353f129125ca2cb93090 Mon Sep 17 00:00:00 2001 From: CheshireCaat Date: Thu, 23 Jan 2020 08:37:41 +0300 Subject: [PATCH] Remove last updates --- TLSharp.Core/TelegramClient.cs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/TLSharp.Core/TelegramClient.cs b/TLSharp.Core/TelegramClient.cs index ffc334c..d86b349 100644 --- a/TLSharp.Core/TelegramClient.cs +++ b/TLSharp.Core/TelegramClient.cs @@ -234,26 +234,6 @@ namespace TLSharp.Core return (T)result; } - public async Task UpdateUsernameAsync(string username) - { - if (!IsUserAuthorized()) - throw new InvalidOperationException("Authorize user first!"); - - var req = new TLRequestUpdateUsername { Username = username }; - - return await SendRequestAsync(req); - } - - public async Task CheckUsernameAsync(string username) - { - if (!IsUserAuthorized()) - throw new InvalidOperationException("Authorize user first!"); - - var req = new TLRequestCheckUsername { Username = username }; - - return await SendRequestAsync(req); - } - public async Task ImportContactsAsync(IReadOnlyList contacts) { if (!IsUserAuthorized())