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

hidden phone number #26

Open
Yorksik opened this issue Oct 25, 2022 · 0 comments
Open

hidden phone number #26

Yorksik opened this issue Oct 25, 2022 · 0 comments

Comments

@Yorksik
Copy link

Yorksik commented Oct 25, 2022

2022-10-25T05:08:30.886537+00:00 app[worker.1]: Traceback (most recent call last): 2022-10-25T05:08:30.886571+00:00 app[worker.1]: File "/app/spy.py", line 31, in <module> 2022-10-25T05:08:30.886821+00:00 app[worker.1]: entity=client.get_entity(destination_user_username) 2022-10-25T05:08:30.886858+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/telethon/sync.py", line 39, in syncified 2022-10-25T05:08:30.887090+00:00 app[worker.1]: return loop.run_until_complete(coro) 2022-10-25T05:08:30.887123+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete 2022-10-25T05:08:30.887481+00:00 app[worker.1]: return future.result() 2022-10-25T05:08:30.887509+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/telethon/client/users.py", line 335, in get_entity 2022-10-25T05:08:30.887819+00:00 app[worker.1]: result.append(await self._get_entity_from_string(x)) 2022-10-25T05:08:30.887835+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/telethon/client/users.py", line 553, in _get_entity_from_string 2022-10-25T05:08:30.888159+00:00 app[worker.1]: result = await self( 2022-10-25T05:08:30.888174+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/telethon/client/users.py", line 30, in __call__ 2022-10-25T05:08:30.888322+00:00 app[worker.1]: return await self._call(self._sender, request, ordered=ordered) 2022-10-25T05:08:30.888336+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/telethon/client/users.py", line 84, in _call 2022-10-25T05:08:30.888484+00:00 app[worker.1]: result = await future 2022-10-25T05:08:30.888590+00:00 app[worker.1]: telethon.errors.rpcerrorlist.FloodWaitError: A wait of 28725 seconds is required (caused by ResolveUsernameRequest)

I understand this error due to the fact that the user has hidden his phone number and now it is impossible to find him by this number. But in the telegram client, I see that the last seen time is not hidden.
Please understand what this error means and how to get around it. It is especially interesting what this line conceives.

`2022-10-25T05:08:30.888590+00:00 app[worker.1]: telethon.errors.rpcerrorlist.FloodWaitError: A wait of 28725 seconds is required (caused by ResolveUsernameRequest)``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant