mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
Update TLSharpTests.cs
This commit is contained in:
parent
0a227b8412
commit
bc24dbfd65
|
|
@ -141,7 +141,7 @@ namespace TLSharp.Tests
|
|||
|
||||
await client.ConnectAsync();
|
||||
|
||||
var dialogs = await client.GetUserDialogsAsync();
|
||||
var dialogs = (TLDialogs) await client.GetUserDialogsAsync();
|
||||
var chat = dialogs.chats.lists
|
||||
.Where(c => c.GetType() == typeof(TLChannel))
|
||||
.Cast<TLChannel>()
|
||||
|
|
|
|||
Loading…
Reference in a new issue