telethonchat | Unsorted

Telegram-канал telethonchat - Telethon Chat

6095

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

create 2 sessions file

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

Telethon Chat

Hello I have a question how can I avoid session terminations when I use it via 2 devices 2 ips should i create 2 seperate sessions or using hash

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

Telethon Chat

How i can get comments under posts if it exist?

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

Telethon Chat

after reading my message
and reading the group title
and reading my code

the answer is no

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

Telethon Chat

if isinstance(entity, types.Channel) and not entity.megagroup:
print(dialog.title)

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

Telethon Chat

why it also scrap Dialogs?

                    if isinstance(entity, types.Channel):
print(dialog.title)

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

Telethon Chat

it works with telethon telethon==1.38.1

but not works with latest telethon

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

Telethon Chat

The cause of this error is most likely using the same session in multiple scripts (or having another older process using the same session file). To fix it you need to use one session file per script (or per client)

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

Telethon Chat

because telegram put more limits on unofficial clients than official clients, as simple as that.

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

Telethon Chat

Just a thought — maybe the official Telegram client is using multiple simultaneous connections.

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

Telethon Chat

the server is sending a floodwait saying wait 2 seconds and telethon is waiting that time, the server will floodwait further requests until the timer of 2 seconds or whatever is up

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

Telethon Chat

According to the tests I have run on my server, this is not the case.
When I download with Telethon, I get the following:

2025-07-01 21:12:24 - telethon.client.users - INFO - Sleeping for 1s (0:00:01) on GetFileRequest flood wait
2025-07-01 21:12:25 - telethon.client.users - INFO - Sleeping for 2s (0:00:02) on GetFileRequest flood wait


Telethon adds a 2 second sleep whenever I go over some limits it sets (I don't know which ones, I haven't looked deeply into the Telethon code). This causes my download speed to be limited and averages out to a total of 5mb/s.
On the other hand, if I use the official Telegram library, I have no download limits. Just try it and let me know, I'm testing it and that's how it works.
My internet speed is always the same using the Telethon library or the official Telegram library and the location that the download uses I haven't checked, although I guess it will be the same.
The only thing I can say looking at this scenario is that Telethon should not add a 2 second sleep and let the user handle this by setting limits to the download either in the docker container or whatever they are using, this is what I am doing and I can download without a problem at a speed 5 times faster than what Telethon offers.

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

Telethon Chat

Anyone knows how to mix Telethon and FastTelethon to uploads videos with streaming attribute True? I try and try but always uploads like document with thumbnails, instead of video streaming mode

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

Telethon Chat

OK 🫤 You are very picky

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

Telethon Chat

speed is limited by your internet speed and datacenter not by Telethon

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

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

/channel/TelethonChat/674256

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

Telethon Chat

me too i used in past

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

Telethon Chat

chats are channels but with megagroup=True

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

Telethon Chat

i want to get only Channels, but if i use isinstance(entity, types.Channel), i also get Groups

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

Telethon Chat

/channel/TelethonChat/646863

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

Telethon Chat

Please help

result = client(functions.messages.UpdateDialogFilterRequest(
id=counter,
filter=types.DialogFilter(
id=counter,
title=title,
pinned_peers=peer_ids,
include_peers=peer_ids,
exclude_peers=[],
)
))


a TLObject was expected but found something else

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

Telethon Chat

Hi! I’m trying to initiate 5 telegram clients with the same session file, for better concurrency. I immediately getting error of database is locked. Is anyone was able to get over this?

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

Telethon Chat

😐Bruh, bro it depends, there's nothing you can interfere in about Telegram raising FloodWaitError s, the most you can do is accepting and handling them

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

Telethon Chat

And why when I download with the official Telegram library this doesn't happen? I don't understand.

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

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

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

not picky but getting is not that hard to keep asking or selling it here and it's useless because any account you will create using this method will get banned

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

Telethon Chat

you can't get sms without official Telegram api id and hash but in terms they clearly said "You must obtain your own api_id for your application" means using thier api id and hash is against the terms and using app and violate it's terms is illegal what also will lead us to the same point that trying to make your client look like official one to get sms or etc is illegal

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

Telethon Chat

Not very convincing, but okay

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