mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-03 15:19:30 +00:00
actualize UpdatesPollint
This commit is contained in:
@@ -21,8 +21,8 @@ fun RequestsExecutor.startGettingOfUpdates(
|
|||||||
): UpdatesPoller {
|
): UpdatesPoller {
|
||||||
return KtorUpdatesPoller(
|
return KtorUpdatesPoller(
|
||||||
this,
|
this,
|
||||||
allowedUpdates ?: ALL_UPDATES_LIST,
|
|
||||||
timeoutMillis.toInt() / 1000,
|
timeoutMillis.toInt() / 1000,
|
||||||
|
allowedUpdates = allowedUpdates ?: ALL_UPDATES_LIST,
|
||||||
updatesReceiver = block
|
updatesReceiver = block
|
||||||
).also {
|
).also {
|
||||||
it.start(scope)
|
it.start(scope)
|
||||||
|
Reference in New Issue
Block a user