maxim
Results
1
comments of
maxim
you can wrap your handlers in middleware, where you set rate limiter from lib `golang.org/x/time/rate` example: ```go func rateLimiter(next func(ctx context.Context, bot *Bot, update *models.Update)) HandlerFunc { limiter := rate.NewLimiter(2,...