ba0f3 / telebot.nim

Async Telegram Bot API Client implement in @Nim-Lang
MIT License
165 stars 24 forks source link

Is it posible to skip stale messages? #94

Closed mkscs closed 4 months ago

mkscs commented 4 months ago

Imagine my bot is offline for an extended period of time and when I restart it I dont want to process old messages. Is this possible?

ba0f3 commented 4 months ago

there is cleanUpdates proc, or you can set clean = true when you call pool or poolAsync proc