Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delays in getting message updates from some specific channels #2853

Closed
Tidalikk opened this issue Apr 20, 2024 · 5 comments
Closed

Delays in getting message updates from some specific channels #2853

Tidalikk opened this issue Apr 20, 2024 · 5 comments

Comments

@Tidalikk
Copy link

I'm using the lib with python, using the example that was provided, so that's the code i'm using with no changes.

But some messages from specific channels are getting delays of 2 or more minutes while others channels are almost instant.

Is this working as intended or is it a bug? Is there a workaround to get more constant message updates?

@levlam
Copy link
Contributor

levlam commented Apr 20, 2024

Messages in channels aren't intended to be delivered in real-time, so this works as intended.

@Tidalikk
Copy link
Author

Is there a workaround for this?

Correct me if I'm wrong but doesn't for example the mobile app use this API? And the app always gets the channel updates in real time.

So wouldn't it be possible to replicate this?

@levlam
Copy link
Contributor

levlam commented Apr 20, 2024

None of the app get channel updates in real time.

@Tidalikk
Copy link
Author

Tidalikk commented Apr 21, 2024

None of the app get channel updates in real time.

The delay im talking about never happens on the telegram app. Even on this channels it's always instant, the date on the notification of the phone matches the date that the message was published to the channel.

While using the example code provided I'm getting significant delays which are not present on the app.

So there must be a difference.

Do you know why this difference happens? And is there no workaround to have the same performance as the phone app?

The explanation could even be that the telegram devs want this high performance of instant messages from channels to only happen on official apps.

I just want to understand what's going on

@levlam
Copy link
Contributor

levlam commented Apr 21, 2024

Messages can't be delivered simultaneously to all users, so there can be some difference, but there are no workarounds. Messages will be delivered when appropriate.

@levlam levlam closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants