diff --git a/Retrieving-an-entity.md b/Retrieving-an-entity.md index d20ea25..2871bc6 100644 --- a/Retrieving-an-entity.md +++ b/Retrieving-an-entity.md @@ -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: