𝙰𝙺
-1452632455
Size: a a a
𝙰𝙺
-1452632455
MM
𝙰𝙺
𝙰𝙺
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
𝙰𝙺