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

not really. it's very entangled with update handling

it's python though, so you can do whatever, if you try

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

Telethon Chat

I use FastTelethon and is uploading all files as "upload"

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

Telethon Chat

That's exactly what I'm asking for, does anyone have anything like that?

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

Telethon Chat

Is there some property working markdown parser for telethon, that will not work like **this** with bold links

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

Telethon Chat

hi there i have a query can i create a telethon script that control my bot account to promote a userid to a admin with just posting right in telethon

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

Telethon Chat

unless you harbor personal intimacy to Button.url, use the mentioned button type designed for inline, at any case, ask developer of your Telegram app to fix it

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

Telethon Chat

New StackOverflow question
how to convert telethon sessions to pyrogram sessions?

https://stackoverflow.com/q/78970708

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

Telethon Chat

New StackOverflow question
Какой ЯП выбрать для взаимодействия с telegram? [closed]

https://stackoverflow.com/q/78970648

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

Telethon Chat

Hi
How can I create such a button url?

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

Telethon Chat

I am receiving a forwarded story message:

MessageMediaStory(peer=PeerUser(user_id=5950039471), id=138, via_mention=False, story=None).

To view the story, I use the method telethon.functions.stories.IncrementStoryViewsRequest
The story link and username seem correct, and the peer is fine, but when I input the ID of the peer, I get an exception:
Could not find the input entity for PeerUser(user_id=5950039471) (PeerUser)

I understand that the account may not have any chat messages with user ID 5950039471, but for stories, it should be viewable, right?

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

Telethon Chat

Anyone know why it's slower then uploading directly?

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

Telethon Chat

done but again got error

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

Telethon Chat

I fixed the problem, but now it gives this error:

Could not find a matching Constructor ID for the TLObject that was supposed to be read with ID 4d22ff98. See the FAQ for more details. Remaining bytes: b'\x98\xff"M\x01\x00\x00\x00\xf2f\xca%\x8f:\xf87\xfe\xfd\x01\x00

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

Telethon Chat

I am running according to this code, in this section that I have marked, you entered bot, how should I pass this section?

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

Telethon Chat

/channel/TelethonChat/626103

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

Telethon Chat

If you want to increase up/down speed, you can install cryptg via pip.
This module aims to provide a better encryption/decryption algorithm for Telegram clients.
If you want to increase speed even further, you can use this snippet
Be cautious while using it, because it can lead to FloodWait error, as it uses multiple simultaneous connections.

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

Telethon Chat

Can I turn entity cache off?

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

Telethon Chat

you can define custom functions and set the parse mode to those

or use html

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

Telethon Chat

i have created a bot it is promoting user with userid as admin but somehow it is giving more than just posting permission and i need those should have only have posting permission no other permission

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

Telethon Chat

My client is running in while True loop iterating over all dialogs every ~5 minutes.

It works well for about an hour but after that I get such messages:

2024-09-10 20:49:58,783 - WARNING - Server closed the connection: 700 bytes read on a total of 732 expected bytes
2024-09-10 20:49:58,783 - INFO - Connection closed while receiving data: 700 bytes read on a total of 732 expected bytes
2024-09-10 20:49:58,783 - INFO - Closing current connection to begin reconnect...
2024-09-10 20:49:58,783 - INFO - Connecting to 149.154.167.51:443/TcpFull...
2024-09-10 20:49:59,023 - INFO - Connection to 149.154.167.51:443/TcpFull complete!

It tells that connection is complete, but after this messages iteration over dialogs stops working with no errors but no result as well.

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

Telethon Chat

Why not enable Inline Query when I click on the link below?
/channel/share/url?url=@usernamebot+code

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

Telethon Chat

I mean what URL do I put?

Burtton.url(text, url= ??)

aslo: @usernamebot /search

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

Telethon Chat

/channel/TelethonChat/588273

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

Telethon Chat

the account receiving forwarded story won't be facing this.

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

Telethon Chat

If you want to increase up/down speed, you can install cryptg via pip.
This module aims to provide a better encryption/decryption algorithm for Telegram clients.
If you want to increase speed even further, you can use this snippet
Be cautious while using it, because it can lead to FloodWait error, as it uses multiple simultaneous connections.

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

Telethon Chat

024-09-10 21:28:06,246 - ERROR - Error creating folder and getting link: The include_peers vector of the filter is empty (caused by UpdateDialogFilterRequest)

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

Telethon Chat

your session doesn't belong to telethon version. re-login or upgrade to master

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

Telethon Chat

the error is clear. show it or fix it

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

Telethon Chat

you can call python's help() on the function to find out the arguments it expects

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

Telethon Chat

parameters for SendPaidReaction is: peer , msg_id and count Just is this true?

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