find any entity corresponding to "6527838350"
chat id is correct what is the problem?
and how can I fix it?
can anyone help? chat id is correct
https://t.me/TelethonChat/566100
It's not, for the error message you showed
yes im sorry converted to int new error: ValueError: Could not find the input entity for PeerUser(user_id=6527838350) (PeerUser). Please read https://docs.telethon.dev/en/stable/concepts/entities.html to find out more details. 🥲
You don't have access to that user with that .session file, you can't use the id. only use ids you get from inside telethon and within the same session
how can i do it with raw api telegram?
you don't, if 6527838350 belongs to a user, you can't use the id in requests unless it's cached. for now, they must send you a message or as forwarded from them when your script is active or resolving username, etc...
we can do it in official telegram desktop android message to anyone but in api we cannot
you can't message to "anyone" in official telegram desktop.
Обсуждают сегодня