𝙰𝙺
-1452632455Size: a a a
𝙰𝙺
-1452632455MM
𝙰𝙺
𝙰𝙺
MM
MM
A
AttributeError: module 'telethon.tl.types' has no attribute 'TypeChannelParticipantsBanned'MM
import telethon
telethon.__version__1.21.1𝙰𝙺
𝙰𝙺
𝙰𝙺
𝙰𝙺
𝙰𝙺
channel = await client.get_entity('@the_CCCP')#id = 753519298
async for user in client.iter_participants(entity = channel, filter = types.ChannelParticipantsBanned):
print(user.id)𝙰𝙺
#
SyntaxError: 'await' outside function
𝙰𝙺
tasks = [check_account(client) for client in list_clients]
for task in asyncio.as_completed(tasks):
result = await task𝙰𝙺