the input entity for PeerUser(user_id=487217632) (PeerUser). Please read https://docs.telethon.dev/en/stable/concepts/entities.html to find out more details.
Here is a piece of code,
if spam == True:
people_nearby = await nearby_people(get_client[account])
for idk in people_nearby:
random_account = random.choice(list(get_json))
await get_client[get_json[random_account]].send_message(idk, 'hi')
break
I understand what the error gave me, I tried to use get_entity, but still the same error
Обсуждают сегодня