add TelegramBot#send extensions

This commit is contained in:
InsanusMokrassar committed 2022-06-25 23:06:41 +06:00
1 parent 95aeedfb94
commit 7429ffb514
3 files changed
+1491 -1

No files matched your search

@@ -22,7 +22,7 @@ suspend fun <T> TelegramBot.withAction(
contract {
callsInPlace(block, InvocationKind.EXACTLY_ONCE)
}
val botActionJob = CoroutineScope(coroutineContext).launch {
val botActionJob = CoroutineScope(currentCoroutineContext()).launch {
while (isActive) {
delay(refreshTime)
safelyWithoutExceptions {
File diff suppressed because it is too large. Load diff