mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2026-09-11 19:25:58 +00:00
Be explicit that phone numbers only work if in your contacts
This commit is contained in:
@@ -632,6 +632,7 @@ all the members from a chat first):
|
||||
for message in client.iter_messages('username'):
|
||||
...
|
||||
|
||||
# Note that for this to work the phone number must be in your contacts
|
||||
some_id = client.get_peer_id('+34123456789')
|
||||
|
||||
The documentation for shown methods are `get_entity
|
||||
|
||||
Reference in New Issue
Block a user