Похожие чаты

Is get_entity, iter_messages, get_input_entity etc functions broken with ids for

newly created users? idk, it works very weirdly for me and i can't even pinpoint why.

await client.get_entity(user)

is all i ever do and user is either set to inputted id|username or replied.sender_id or message.chat_id. i know for a fact that the id is a correct user id. however it says it cannot find the entity.

that's not all tho. it only fails for some users, and only in the first try. after it fails for the first time, it starts to always work (at least for that user) until a client restart. there is no fail if username is used. same goes for iter_messages etc probably because they also use the get_entity or smth.

3 ответов

4 просмотра

https://t.me/TelethonChat/562752 https://t.me/TelethonChat/560662

Elfa Metesar-PM=Auto Block Автор вопроса
⎞ .·. ⎝ ⎝
https://t.me/TelethonChat/562752 https://t.me/Tele...

i don't think this case is related to that but again i didn't quite understand your response to it in my case tho i get the user id on the fly calling get_entity on message.chat_id and it raises an exception

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта