1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-05 16:03:49 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.bot.settings.limiters/-exceptions-only-limiter/-exceptions-only-limiter.md
2021-03-17 15:18:37 +00:00

1.1 KiB

//docs/dev.inmo.tgbotapi.bot.settings.limiters/ExceptionsOnlyLimiter/ExceptionsOnlyLimiter

ExceptionsOnlyLimiter

[common]
Content
fun ExceptionsOnlyLimiter(defaultTooManyRequestsDelay: MilliSeconds = 1000L)
More info

Parameters

common

defaultTooManyRequestsDelay

This parameter will be used in case of getting with as a parameter for delay like it would be TooMuchRequestsException. The reason of it is that in there is no information about required delay between requests