mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-06 15:04:25 +00:00
Fix ReactorError not correctly raised. Added Program_ReactorError example
This commit is contained in:
parent
e8b0bb9245
commit
131fd36106
7 changed files with 81 additions and 10 deletions
|
|
@ -469,9 +469,8 @@ private Dictionary<long, ChatBase> _chats = new();
|
|||
var dialogs = await client.Messages_GetAllDialogs();
|
||||
dialogs.CollectUsersChats(_users, _chats);
|
||||
|
||||
private async Task OnUpdate(IObject arg)
|
||||
private async Task OnUpdate(UpdatesBase updates)
|
||||
{
|
||||
if (arg is not UpdatesBase updates) return;
|
||||
updates.CollectUsersChats(_users, _chats);
|
||||
...
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue