go-tdlib icon indicating copy to clipboard operation
go-tdlib copied to clipboard

Problem in detecting online status and last seen of users after calling GetUser method multiple times.

Open telexengineering opened this issue 4 years ago • 1 comments

Hi. I have written a code in which I have a for loop and I check last seen and online status of my Telegram account ,periodically. I had added my cellphone's phone number as contact to Tdlib client before. In this for loop, my last seen doesn't change while my cellphone gets online and offline in Telegram app, and my last seen is changed in Telegram application itself. When I reset my code (kill the process and run it again) my last seen becomes real and gets updated. How can I solve this problem and How will I be able to get my updated last seen in this for loop without restarting my code? Thanks

telexengineering avatar Jul 09 '21 16:07 telexengineering

Dear @zelenin do you have any idea?

telexengineering avatar Jul 17 '21 06:07 telexengineering