telegram-rs/telegram-bot

How to handle status codes: 429 (TooManyRequest) and so on?

loyd opened this issue · 1 comments

loyd commented

It seems that the implementation ignores status codes at all. Thus, it's impossible to detect rate limit violations and handle them. Is that right?

loyd commented

It would be cool to have the instance Sink for Api that implements backpressure on its own.