-
Notifications
You must be signed in to change notification settings - Fork 177
Description
File "g:\Tekegram scraper\full tools\scraper.py", line 104, in
for member in c.iter_participants(group, filter=ChannelParticipantsAdmins):
File "C:\Users\ALKABTIN\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\requestiter.py", line 87, in next
return self.client.loop.run_until_complete(self.anext())
File "C:\Users\ALKABTIN\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "C:\Users\ALKABTIN\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\requestiter.py", line 74, in anext
if await self._load_next_chunk():
File "C:\Users\ALKABTIN\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\chats.py", line 202, in _load_next_chunk
self.total = (await self.client(functions.channels.GetParticipantsRequest(
File "C:\Users\ALKABTIN\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
File "C:\Users\ALKABTIN\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\users.py", line 83, in _call
result = await future
telethon.errors.rpcerrorlist.ChatAdminRequiredError: Chat admin privileges are required to do that in the specified chat (for example, to send a message in a channel which is not yours), or invalid permissions used for the channel or group (caused
by GetParticipantsRequest)