future: <Task finished name='Task-9' coro=<Dispatcher._process_polling_updates() done, defined at C:\Program Files\Python38\lib\site-packages\aiogram\dispatcher\dispatcher.py:409> exception=TypeError("'async_generator' object is not iterable")>
Traceback (most recent call last):
File "C:\Program Files\Python38\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 417, in _process_polling_updates
for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
File "C:\Program Files\Python38\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 238, in process_updates
return await asyncio.gather(*tasks)
File "C:\Program Files\Python38\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
response = await handler_obj.handler(*args, **partial_data)
File "C:\Program Files\Python38\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 259, in process_update
return await self.message_handlers.notify(update.message)
File "C:\Program Files\Python38\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
response = await handler_obj.handler(*args, **partial_data)
File "бот.py", line 122, in додати
print(await юзербот.учасники_чату(-1001363517171))
File "C:\_myprog\_\python\_tg\_smails\_2\хз\юзербот.py", line 14, in учасники_чату
for учасник in app.iter_chat_members(ід):
TypeError: 'async_generator' object is not iterable