tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

Incoming messages are not appearing for one channel and flowing in for other channels #2709

Closed pranavkulkarni7 closed 8 months ago

pranavkulkarni7 commented 11 months ago

I am listening to 3 channels. The messages for channel one are not flowing in since last two weeks. Has anyone faced this issue? Kindly help.

levlam commented 11 months ago

Messages in big chats aren't expected to be received in real time, but if the user has the chat opened, then they are expected to be received faster. In TDLib you can open a chat using openChat, but don't forget to call closeChat when the chat is closed. Usually, users have at most one chat opened. Also, ensure that you use up-to-date TDLib version.

pranavkulkarni7 commented 11 months ago

thanks for your comment @levlam ! I will try and update the thread!

pranavkulkarni7 commented 11 months ago

@levlam Actually the problem is I am not receiving them at all (neither real time nor later).. Can there be any reasons or logs which I should search more on?

levlam commented 11 months ago

Ensure that you are member of the chats and have up-to-date TDLib.

FordSmh commented 10 months ago

Can confirm tdlib version was the problem, in my case anyway

ne0c0de commented 10 months ago

Yea, tdlib version was caused that. Suddenly I couldn't get messages on my server when I'm using tdlib. Only messages coming to server if I open the chat on real client (desktop or mobile)

Then I updated tdlib and started to get messages but after that I got messages with randomly delay starting between 2 seconds to more then a minute.

I suspect something changed on Telegram side but there's no clarification yet