ilyalatt / Telega

C# Telegram MTProto Client
https://ilyalatt.github.io/Telega/
MIT License
58 stars 15 forks source link

Updates without disconnect #29

Closed wasimjee closed 4 years ago

wasimjee commented 4 years ago

I am able to get the updates.

But after a few hours the system not getting updates.

It seems the system gets disconnected.

How can we check regularly if the system is still connected or if the systems get disconnected, then any events to generate

ilyalatt commented 4 years ago

Yes, it gets disconnected sometimes. The workaround is to send Ping request periodically. Telega tries to reconnect on every call if the client is disconnected. So it should help. This problem is in the list of issues. Try to apply the workaround. If it is not sufficient I can work on in on the weekends.

wasimjee commented 4 years ago

Thanks @ilyalatt , i used the periodically ping, and its working. I mean its not disconnected yet

kuriel07 commented 3 years ago

hi, sending ping worked for text message, but when the observer received message with link (or sometimes picture), the system get disconnected immdtly

ilyalatt commented 3 years ago

@kuriel07 Hi. Do you mean that any message containing link breaks further updates?

kuriel07 commented 3 years ago

yes

@kuriel07 Hi. Do you mean that any message containing link breaks further updates?

ilyalatt commented 3 years ago

@kuriel07 Ok, i will investigate it tomorrow

ilyalatt commented 3 years ago

@kuriel07 Hi. Sorry, it was a lie to myself. I am too exhausted to work on Telega for now. However I can help you if you want to fix the issue.

ilyalatt commented 3 years ago

I've opened new issue #62

derodevil commented 3 years ago

Has it been solved?