mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
Change TLDialogs to TLAbsDialogs
This commit is contained in:
parent
0a227b8412
commit
8c2cab48f4
|
|
@ -196,10 +196,10 @@ namespace TLSharp.Core
|
||||||
return await SendRequestAsync<Boolean>(req);
|
return await SendRequestAsync<Boolean>(req);
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<TLDialogs> GetUserDialogsAsync()
|
public async Task<TLAbsDialogs> GetUserDialogsAsync()
|
||||||
{
|
{
|
||||||
var peer = new TLInputPeerSelf();
|
var peer = new TLInputPeerSelf();
|
||||||
return await SendRequestAsync<TLDialogs>(
|
return await SendRequestAsync<TLAbsDialogs>(
|
||||||
new TLRequestGetDialogs() { offset_date = 0, offset_peer = peer, limit = 100 });
|
new TLRequestGetDialogs() { offset_date = 0, offset_peer = peer, limit = 100 });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue