Telethon-Channel-Clone icon indicating copy to clipboard operation
Telethon-Channel-Clone copied to clipboard

I get an error when i run please check

Open Montanaaws opened this issue 2 years ago • 0 comments

 python bot.py Traceback (most recent call last): File "bot.py", line 8, in for message in client.iter_messages(BOT_SETTING.SRC_CHAT_ID, reverse=True): File "/opt/virtualenvs/python3/lib/python3.8/site-packages/telethon/requestiter.py", line 87, in next return self.client.loop.run_until_complete(self.anext()) File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "/opt/virtualenvs/python3/lib/python3.8/site-packages/telethon/requestiter.py", line 58, in anext if await self._init(**self.kwargs): File "/opt/virtualenvs/python3/lib/python3.8/site-packages/telethon/client/messages.py", line 27, in _init self.entity = await self.client.get_input_entity(entity) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/telethon/client/users.py", line 466, in get_input_entity raise ValueError( ValueError: Could not find the input entity for PeerChannel(channel_id=1974008976) (PeerChannel). Please read https://docs.telethon.dev/en/latest/concepts/entities.html to find out more details.  ^C

Montanaaws avatar Apr 06 '22 03:04 Montanaaws