mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-18 21:05:17 +00:00
Update TLSharpTests.cs
This commit is contained in:
parent
0a227b8412
commit
bc24dbfd65
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ namespace TLSharp.Tests
|
||||||
|
|
||||||
await client.ConnectAsync();
|
await client.ConnectAsync();
|
||||||
|
|
||||||
var dialogs = await client.GetUserDialogsAsync();
|
var dialogs = (TLDialogs) await client.GetUserDialogsAsync();
|
||||||
var chat = dialogs.chats.lists
|
var chat = dialogs.chats.lists
|
||||||
.Where(c => c.GetType() == typeof(TLChannel))
|
.Where(c => c.GetType() == typeof(TLChannel))
|
||||||
.Cast<TLChannel>()
|
.Cast<TLChannel>()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue