hi . when I try to get the api hash from my.telegram.org, I get this error:
my.telegram.org says [Object object]
what is the problem?
the entire log:
Traceback (most recent call last):Читать полностью…
File "/app/src/main.py", line 409, in <module>
loop.run_until_complete(main())
File "/root/.nix-profile/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/app/src/main.py", line 402, in main
await client.run_until_disconnected()
File "/opt/venv/lib/python3.11/site-packages/telethon/client/updates.py", line 38, in _run_until_disconnected
raise self._updates_error
File "/opt/venv/lib/python3.11/site-packages/telethon/client/updates.py", line 308, in _update_loop
diff = await self(get_diff)
^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/telethon/client/users.py", line 30, in __call__
return await self._call(self._sender, request, ordered=ordered)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/telethon/client/users.py", line 87, in _call
result = await future
^^^^^^^^^^^^
telethon.errors.rpcerrorlist.UserDeactivatedBanError: The user has been deleted/deactivated (caused by GetDifferenceRequest)
telethon.errors.rpcerrorlist.UserDeactivatedBanError: The user has been deleted/deactivated (caused by GetDifferenceRequest)Читать полностью…
How to tell the bot to change channel information and activate content protection?
Читать полностью…what do you mean, isn't that the opposite of your issue
and just look at the final result if it's valid in format, your 'node telegram bot library' may not be liking the output. telethon isn't very compatible with tdlib and its parsers are used in BotApi
Hi and welcome to the group. Before asking any questions, please read the rules from the group's description, and don't forget to read the docs. Make sure you are using the latest version with pip3 install -U telethon
, since most problems have already been fixed in newer versions.
This example is from the official TDLib, and I also use the TDLib client, so any changes made here reflect in the device session when new login.
Now, I want to know how to set these during login in Telethon???
Source: https://github.com/tdlib/td/blob/18618cad563bf65848b64375b295421e014d4ae7/example/python/tdjson_example.py#L108
You can see example here: /channel/TelethonChat/635402
it's unrelated. any request could've raised same error. that is a frequent request so it encounters it first
mail Telegram by logging in with official Telegram mobile and click 'help' after trying to login
I got banned using telethon and i see this log. What exactly is GetDifferenceRequest and what could have caused it? Thanks in advance
Читать полностью…i can with telethon get last search queries on account?
last dialogues with channels/bots, joining, starts bots
recently
I'm sending like
input:
Hi, I know python : https://google.com/
Now replacing the link
output: Hi, I know python : https://python.com/
i want Hi, I know python : https://python.com/
without handling formatting
There is no proof on that. but it's expected that some entities won't exist like custom emojis, spoilers, quotes.
and you may get better results by using html parse_mode
Get Chat join request event and accept a join request in the supergroup using telethon?
Can you ref ?? Even raw api is ok.