from telethon import TelegramClient
from collections import namedtuple
from telethon.tl.functions.users import GetFullUserRequest
api_id = int()
api_hash = ''
phone = ''
limit = 10000
client = TelegramClient('anon', api_id, api_hash)
async def main():
full = await client(GetFullUserRequest('username'))
bio = full.full_user.about
print(bio)
with client:
client.loop.run_until_complete(main())
here is the code that finds the bio by username, but I need it by id and in addition to this I can't ask for groups in any way There are many answers in SO, but they are already on the old version and now the bio is not parsing In general
- Find bio by id
- Parsing users from groups (if possible, with bio)
Is this even possible now ??