Похожие чаты

How to get entity from await client(ImportChatInviteRequest(hash)) ?

8 ответов

60 просмотров

print the result to find where it is

Максим- Автор вопроса
lonami
print the result to find where it is

it doesn't work if i use result.chats[0]

Максим- Автор вопроса
Максим
it doesn't work if i use result.chats[0]

self.channel = utils.get_input_channel(await client.get_input_entity(self.channel)) _raise_cast_fail(entity, 'InputChannel') raise TypeError('Cannot cast {} to any kind of {}.'.format( TypeError: Cannot cast InputPeerChat to any kind of InputChannel.

lonami
could be a bug, dno

Hey, can you please help me with an easy code to login to account which has 2fa

internet maf
Hey, can you please help me with an easy code to l...

Hey, that's not how you ask a question! If you want helpful advice (or any response at all) read this first and then ask again. If you have the time, How To Ask Questions The Smart Way is another wonderful resource worth reading.

Максим
self.channel = utils.get_input_channel(await clien...

self.channel likely is a Chat. get_input_entity returns InputPeerChat. that cannot be converted to InputChannel.

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

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

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
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
Карта сайта