ValueError: Could not find the input entity for <telethon.tl.types.PeerUser object at 0x7f972ec6e400>.
See original GitHub issueThis is my Code:
client(ImportChatInviteRequest(gruppoF))
except Exception:
print("Gia' ci sono")
chatinvite=client(CheckChatInviteRequest(gruppoF))
gruppoF=chatinvite.chat.id
result=client(GetParticipantsRequest(channel=gruppoF,filter=types.ChannelParticipantsRecent(),offset=42,limit=20000,hash=0))```
The error:
ValueError: Could not find the input entity for <telethon.tl.types.PeerUser object at 0x7f972ec6e400>. Please read https://docs.telethon.dev/en/latest/concepts/entities.html to find out more details.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8 (1 by maintainers)
Top Results From Across the Web
ValueError: Could not find the input entity for PeerUser
I am not familiar with Telethon, but the docs referenced in the error state. To “encounter” an ID, you would have to “find...
Read more >How to use the telethon.tl.functions.channels function in ... - Snyk
How to use the telethon.tl.functions.channels function in Telethon ... pass raise ValueError( 'Could not find the input entity for {!r}.
Read more >Python telethon.tl.types.PeerChannel() Examples
This page shows Python examples of telethon.tl.types. ... try: return await message.client.get_entity(message.from_id) except ValueError: # Not in database.
Read more >Could not find the input entity for <teletho...anycodings
Questions : Could not find the input entity for < telethon.tl.types.PeerUser object at ... I am getting the error ValueError: Could programming ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The error shows you a link, did you check it?
@Lonami I have encountered the same problem. On new entities you have to try again. which means it returns from cache.