1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-17 22:03:48 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.utils.updates.retrieving/create-accumulated-updates-retriever-flow.md
2021-03-17 15:18:37 +00:00

1.3 KiB

//docs/dev.inmo.tgbotapi.extensions.utils.updates.retrieving/createAccumulatedUpdatesRetrieverFlow

createAccumulatedUpdatesRetrieverFlow

[common]
Content
fun TelegramBot.createAccumulatedUpdatesRetrieverFlow(avoidInlineQueries: Boolean = false, avoidCallbackQueries: Boolean = false, exceptionsHandler: <Unit>? = null, allowedUpdates: List<String>? = null): <Update>
More info

Return

which will emit updates to the collector while they will be accumulated. Works the same as retrieveAccumulatedUpdates, but pass as a callback