telegram-bot-api icon indicating copy to clipboard operation
telegram-bot-api copied to clipboard

offset auto-refresh

Open NemoD503 opened this issue 4 years ago • 1 comments

I hope this PR can solve #156 issue.

The thing is that we can refresh offset to zero (like bot starts with) in case bot has not received any updates for a week. So we can add a "timer", that can be reseted with any update or can trigger offset refreshing. I guess that 6*24 hours is enough to decide to refresh the offset.

NemoD503 avatar Oct 20 '19 22:10 NemoD503

Is this the best strategy for resolving this issue? I'd love to get more feedback from others on #156.

Syfaro avatar Jul 21 '20 08:07 Syfaro