Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In the AnalyzeInviteLink method is an error: A task was canceled. #268

Closed
18374907010 opened this issue Jul 22, 2024 · 1 comment
Closed
Labels
invalid Issue seems invalid, on user side, or unrelated to project

Comments

@18374907010
Copy link

What is the cause of this exception and how can it be resolved?

System.Threading.Tasks.TaskCanceledException
HResult=0x8013153B
Message=A task was canceled.
Source=WTelegramClient
StackTrace:
WTelegram.Client.d__124.MoveNext()
WTelegram.Client.d__126`1.MoveNext()
WTelegram.Client.d__164.MoveNext()
WTelegram.Client.d__162.MoveNext()
WTelegramService.d__14.MoveNext() 在 \WTelegramService.cs
Main.d__7.MoveNext() 在 Main.cs

GetChatsByGroupLink(string, string)
JoinGroupByLinks(string, int, System.Collections.Generic.Dictionary<long, TL.ChatBase>, System.Collections.Generic.List<string>, System.Action<string, TL.ChatBase>)
@wiz0u
Copy link
Owner

wiz0u commented Jul 22, 2024

I don't think this problem is related to AnalyzeInviteLink.
I think you probably Disposed the Client or something like that, maybe in another thread/task

@wiz0u wiz0u closed this as completed Jul 27, 2024
@wiz0u wiz0u added the invalid Issue seems invalid, on user side, or unrelated to project label Jul 27, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid Issue seems invalid, on user side, or unrelated to project
Projects
None yet
Development

No branches or pull requests

2 participants