DEV Community

Discussion on: Checking if a phone number is on Telegram, using TDLib and Python

Collapse
 
spidermanir profile image
Siavash • Edited

Hi Luis,
i'm run this code but it gives Error:
user_ids = response.update['user_ids']
TypeError: 'NoneType' object is not subscriptable

response.wait() returns None

Collapse
 
luvejo profile image
Luis Velásquez

Hey! I ran the snippets once again and they still work as expected. Maybe check that you are actually authenticating the client.