create Accumulated Updates Retriever Flow
fun TelegramBot.createAccumulatedUpdatesRetrieverFlow( avoidInlineQueries: Boolean = false, avoidCallbackQueries: Boolean = false, exceptionsHandler: ExceptionHandler<Unit>? = null, allowedUpdates: List<String>? = ALL_UPDATES_LIST): Flow<Update>
Content copied to clipboard
Return
kotlinx.coroutines.flow.Flow which will emit updates to the collector while they will be accumulated. Works the same as longPollingFlow, but it will cancel the flow after the first one HttpRequestTimeoutException