mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-10 16:12:22 +03:00
Remove broken link
parent
bfc7bb6c0d
commit
01b1da3902
|
@ -25,7 +25,7 @@ my_channel = client.get_entity(PeerChannel(some_id))
|
|||
|
||||
## Via your open "chats" (dialogs)
|
||||
|
||||
[There's a page for that](Retrieving-all-dialogs).
|
||||
Simply call `client.get_dialogs()`. If you pass `limit=None`, all dialogs will be retrieved. These contain an `.entity` attribute. Use `help(result)` for more.
|
||||
|
||||
## Via ResolveUsernameRequest
|
||||
This is the request used by `.get_entity` internally, but you can also use it by hand:
|
||||
|
|
Loading…
Reference in New Issue
Block a user