mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
Merge pull request #732 from MasihAkbari/master
README.md: fix compilation error for getting dialogs in code snippet
This commit is contained in:
commit
4197df89aa
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue