mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-03 15:19:30 +00:00
fix scope of one of startGettingOfUpdatesByLongPolling
This commit is contained in:
@@ -114,7 +114,7 @@ fun RequestsExecutor.startGettingOfUpdatesByLongPolling(
|
|||||||
pollAnswerCallback: UpdateReceiver<PollAnswerUpdate>? = null,
|
pollAnswerCallback: UpdateReceiver<PollAnswerUpdate>? = null,
|
||||||
timeoutSeconds: Seconds = 30,
|
timeoutSeconds: Seconds = 30,
|
||||||
exceptionsHandler: ExceptionHandler<Unit>? = null,
|
exceptionsHandler: ExceptionHandler<Unit>? = null,
|
||||||
scope: CoroutineScope = GlobalScope
|
scope: CoroutineScope = CoroutineScope(Dispatchers.Default)
|
||||||
): Job {
|
): Job {
|
||||||
return startGettingOfUpdatesByLongPolling(
|
return startGettingOfUpdatesByLongPolling(
|
||||||
SimpleUpdatesFilter(
|
SimpleUpdatesFilter(
|
||||||
|
Reference in New Issue
Block a user