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

[Bug] 无法列出所有聊天/Unable to list all chats. #713

Open
erosaishen opened this issue Aug 31, 2024 · 3 comments
Open

[Bug] 无法列出所有聊天/Unable to list all chats. #713

erosaishen opened this issue Aug 31, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@erosaishen
Copy link

Describe the bug

出现错误:
Error: callback:
github.com/gotd/td/telegram.(*Client).Run.func3
github.com/gotd/[email protected]/telegram/connect.go:151

  • get offset peer:
    github.com/gotd/td/telegram/query/dialogs.(*Iterator).apply
    github.com/gotd/[email protected]/telegram/query/dialogs/iter.go:161
  • channel 1856153990 not found:
    github.com/gotd/td/telegram/message/peer.Entities.ExtractPeer
    github.com/gotd/[email protected]/telegram/message/peer/extract.go:129

To Reproduce

执行语句:
PS .\tdl chat ls -o json

Expected behavior

之前还能正常列出所有频道ID,现在没办法了,大佬知道怎么回事吗

Version

v0.17.3

Which OS are you running tdl on?

Windows

Additional context

No response

@erosaishen erosaishen added the bug Something isn't working label Aug 31, 2024
@iyzyi
Copy link

iyzyi commented Sep 3, 2024

I have the same bug.

@iyzyi
Copy link

iyzyi commented Sep 3, 2024

I tried to concatenate the channel url manually, such as t.me/c/{id}/1, and found that the error was caused by the corresponding channel being disbanded (the number of subscribers became 1).

@erosaishen
Copy link
Author

I tried to concatenate the channel url manually, such as t.me/c/{id}/1, and found that the error was caused by the corresponding channel being disbanded (the number of subscribers became 1).

原因确实是个,但是即使删除也需要等待本体的缓存彻底消失,才能使用,并不是一删除这些频道就立马可以拉取频道ID,还得等一会,如果有检测机制就好了,存在这样的频道就跳过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants
@iyzyi @erosaishen @iyear and others