-
Hi, I use UpdateHandler to get updates. How can I manage session lifetime? Or maybe should I send something periodically to support current session? Also I realised I receive updates with delay. So is there any way to make current connection primary or active to get updates immediately? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Client is using keep alive, so session should be live until explicit logout. Not sure about updates delay, probably some complex logic on Telegram side, like "send updates to recently accessed entities faster" or something like that. |
Beta Was this translation helpful? Give feedback.
-
I've solved it. It was my fault with session file. |
Beta Was this translation helpful? Give feedback.
Client is using keep alive, so session should be live until explicit logout.
Not sure about updates delay, probably some complex logic on Telegram side, like "send updates to recently accessed entities faster" or something like that.