mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-07-28 10:55:08 +00:00
1.1 KiB
1.1 KiB
//docs/dev.inmo.tgbotapi.bot.settings.limiters/CommonLimiter
CommonLimiter
[common] class CommonLimiter(lockCount: Int, regenTime: MilliSeconds, scope: ) : RequestLimiter
Functions
Name | Summary |
---|---|
limit | [common] Content open suspend override fun <T> limit(block: suspend () -> T): T More info Use limit for working of block (like delay between or after, for example) |