telethonchat | Unsorted

Telegram-канал telethonchat - Telethon Chat

6097

Official Telethon's chat! Rules: • Speak English • Stay on topic (questions about Telethon) • Be respectful • Don't ask to ask • Spam-related uses lead to ban • Read https://docs.telethon.dev before asking things here Read more about us @TelethonUpdates

Subscribe to a channel

Telethon Chat

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?

Читать полностью…

Telethon Chat

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 Chat

telethon.errors.rpcerrorlist.UserDeactivatedBanError: The user has been deleted/deactivated (caused by GetDifferenceRequest)

Читать полностью…

Telethon Chat

Okay so should i have to off the password or ...?

Читать полностью…

Telethon Chat

when you provide sign_in with login code and account has 2FA

Читать полностью…

Telethon Chat

How to tell the bot to change channel information and activate content protection?

Читать полностью…

Telethon Chat

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

Читать полностью…

Telethon Chat

i m using htmlparse only and using node telegram bot library

Читать полностью…

Telethon Chat

Does that mean they are being monitored until their account is deleted?

Читать полностью…

Telethon Chat

How to make inline keyboard

Читать полностью…

Telethon Chat

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.

Читать полностью…

Telethon Chat

Can you explain more about this?

Читать полностью…

Telethon Chat

I think I forgot to send you this

Читать полностью…

Telethon Chat

This is what I've set in App title and Short name in my.telegram.org

Читать полностью…

Telethon Chat

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

Читать полностью…

Telethon Chat

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

Читать полностью…

Telethon Chat

I got banned using telethon and i see this log. What exactly is GetDifferenceRequest and what could have caused it? Thanks in advance

Читать полностью…

Telethon Chat

/channel/TelethonChat/622950

Читать полностью…

Telethon Chat

only chat owner can.

Читать полностью…

Telethon Chat

In what case does telethon say

SessionPasswordNeedederror

Читать полностью…

Telethon Chat

i can with telethon get last search queries on account?
last dialogues with channels/bots, joining, starts bots

recently

Читать полностью…

Telethon Chat

thank you, downloaded from git

Читать полностью…

Telethon Chat

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

Читать полностью…

Telethon Chat

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

Читать полностью…

Telethon Chat

Get Chat join request event and accept a join request in the supergroup using telethon?

Can you ref ?? Even raw api is ok.

Читать полностью…

Telethon Chat

has telethon implemented this add an image to a text only message feature?

Читать полностью…

Telethon Chat

This is what I was looking for, thank you.

Читать полностью…

Telethon Chat

https://docs.telethon.dev/en/stable/modules/client.html#telethon-client

Читать полностью…

Telethon Chat

documentation is your friend

Читать полностью…

Telethon Chat

App id - App name are not the same thing

Читать полностью…
Subscribe to a channel