fix compilation error for getting dialogs in README.md file

This commit is contained in:
Masih Akbari 2018-03-21 01:53:48 +03:30
parent f8f31ddb19
commit 0ff9980cc9

View file

@ -95,7 +95,7 @@ Full code you can see at [SendMessage test](https://github.com/sochix/TLSharp/bl
To send message to channel you could use the following code:
```csharp
//get user dialogs
var dialogs = (TLDialogs) await client.GetUserDialogsAsync();
var dialogs = (TLDialogsSlice) await client.GetUserDialogsAsync();
//find channel by title
var chat = dialogs.Chats