Merge pull request #732 from MasihAkbari/master

README.md: fix compilation error for getting dialogs in code snippet
This commit is contained in:
Andres G. Aragoneses 2018-03-21 09:28:16 +08:00 committed by GitHub
commit 4197df89aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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