Change TLDialogs to TLAbsDialogs

This commit is contained in:
Afshin Arani 2016-10-26 20:13:19 +03:30 committed by GitHub
parent 0a227b8412
commit 8c2cab48f4

View file

@ -196,10 +196,10 @@ namespace TLSharp.Core
return await SendRequestAsync<Boolean>(req);
}
public async Task<TLDialogs> GetUserDialogsAsync()
public async Task<TLAbsDialogs> GetUserDialogsAsync()
{
var peer = new TLInputPeerSelf();
return await SendRequestAsync<TLDialogs>(
return await SendRequestAsync<TLAbsDialogs>(
new TLRequestGetDialogs() { offset_date = 0, offset_peer = peer, limit = 100 });
}