Repository navigation
|
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! |
Answered by
ernado
Sep 30, 2021
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. |
3 replies
Answer selected by
camuig
|
I've solved it. It was my fault with session file. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.