go-tdlib
go-tdlib copied to clipboard
Problem in detecting online status and last seen of users after calling GetUser method multiple times.
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
Dear @zelenin do you have any idea?