mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-23 10:38:43 +00:00
2.8 KiB
2.8 KiB
//docs/dev.inmo.tgbotapi.bot.settings.limiters
Package dev.inmo.tgbotapi.bot.settings.limiters
Types
Name | Summary |
---|---|
CommonLimiter | [common] Content class CommonLimiter(lockCount: Int, regenTime: MilliSeconds, scope: ) : RequestLimiter |
ExceptionsOnlyLimiter | [common] Content class ExceptionsOnlyLimiter(defaultTooManyRequestsDelay: MilliSeconds) : RequestLimiter More info This limiter will limit requests only after getting a RetryAfterError or with status code. |
PowLimiter | [common] Content data class PowLimiter(minAwaitTime: MilliSeconds, maxAwaitTime: MilliSeconds, powValue: Double, powK: Double, scope: ) : RequestLimiter |
RequestLimiter | [common] Content interface RequestLimiter |