Похожие чаты

Can I transfer a channel ownership ?

2 ответов

13 просмотров

password_check = telethon.password.compute_check(await client(functions.account.GetPasswordRequest()), "2FA PASSWORD") pass as password=password_check, in EditCreator

MMDRZA- Автор вопроса
⎞ .·. ⎝ ⎝
password_check = telethon.password.compute_check(a...

Bro I used your code but says 2fa is not correct so I changed code to «password="."» and password was correct but says : Unhandled exception on data Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/telethon/tl/tlobject.py", line 194, in __bytes__ return self._bytes() File "/usr/local/lib/python3.10/dist-packages/telethon/tl/functions/channels.py", line 541, in _bytes self.password._bytes(), AttributeError: 'str' object has no attribute '_bytes' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/telethon/client/updates.py", line 543, in _dispatch_update await callback(event) File "/root/owner-changer/app.py", line 45, in data res = await previous_owner_client(functions.channels.EditCreatorRequest( File "/usr/local/lib/python3.10/dist-packages/telethon/client/users.py", line 30, in __call__ return await self._call(self._sender, request, ordered=ordered) File "/usr/local/lib/python3.10/dist-packages/telethon/client/users.py", line 63, in _call future = sender.send(request, ordered=ordered) File "/usr/local/lib/python3.10/dist-packages/telethon/network/mtprotosender.py", line 181, in send state = RequestState(request) File "/usr/local/lib/python3.10/dist-packages/telethon/network/requeststate.py", line 17, in __init__ self.data = bytes(request) File "/usr/local/lib/python3.10/dist-packages/telethon/tl/tlobject.py", line 200, in __bytes__ raise TypeError('a TLObject was expected but found something else') TypeError: a TLObject was expected but found something else

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

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

а через ESC-код ?
Alexey Kulakov
29
30500 за редактор? )
Владимир
47
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
any reference of this implementation?
BitBuddha
29
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
Hi guys, any problem with Pulsebrige? Trying to transfer from wETH to ETH. First it tells me to connect my metamask "through mobile app" not desktop. Then I did and confirmed ...
Snowflakecrypto
11
Ⓐrtto, [4/23/24 7:02 PM] Please explain more fully how it is not working exactly, and what are the steps you are taking, and what error messages come or what happens. Ⓐrtto, ...
Ezza Kezza
2
sounds like people have lost their kaspa on tradeogre... does this mean tradeogre not trustworthy?
Ezza Kezza
15
Привет)) уже кажется эту тему перемусолили, но вот я так и не понял. Я сейчас сижу на 27дюймов 2к мониторе. На Актуальной макоси, если я куплю 27д 4к монитор: - будет ли изобр...
Vladislav Piskunov
11
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Карта сайта