Remove last updates

This commit is contained in:
CheshireCaat 2020-01-23 08:37:41 +03:00
parent b5a816951b
commit acdfab2106

View file

@ -234,26 +234,6 @@ namespace TLSharp.Core
return (T)result;
}
public async Task<TLUser> UpdateUsernameAsync(string username)
{
if (!IsUserAuthorized())
throw new InvalidOperationException("Authorize user first!");
var req = new TLRequestUpdateUsername { Username = username };
return await SendRequestAsync<TLUser>(req);
}
public async Task<bool> CheckUsernameAsync(string username)
{
if (!IsUserAuthorized())
throw new InvalidOperationException("Authorize user first!");
var req = new TLRequestCheckUsername { Username = username };
return await SendRequestAsync<bool>(req);
}
public async Task<TLImportedContacts> ImportContactsAsync(IReadOnlyList<TLInputPhoneContact> contacts)
{
if (!IsUserAuthorized())