1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 08:13:47 +00:00

rename new getting updates extension to avoid JVM signature collisions

This commit is contained in:
InsanusMokrassar 2020-04-08 14:56:56 +06:00
parent bd87938e9c
commit cf9f270651
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
* `TelegramBotAPI`:
* Now `EditMediaGroupUpdate` also extends `BaseEditMessageUpdate`
* `TelegramBotAPI-extensions-api`:
* `startGettingOfUpdates` extension which do not require filter (but return a new one) was added
* `startGettingFlowsUpdates` extension which do not require filter (but return a new one) was added
* `TelegramBotAPI-extensions-utils`:
* Subproject was added
* `filterBaseMessageUpdates`, `filterSentMediaGroupUpdates` and `filterEditMediaGroupUpdates` extensions was added

View File

@ -71,7 +71,7 @@ fun RequestsExecutor.startGettingOfUpdates(
* [flowUpdatesPreset] lambda - it will be called BEFORE starting updates getting
*/
@PreviewFeature
fun RequestsExecutor.startGettingOfUpdates(
fun RequestsExecutor.startGettingFlowsUpdates(
timeoutSeconds: Seconds = 30,
scope: CoroutineScope = CoroutineScope(Dispatchers.Default),
exceptionsHandler: (suspend (Exception) -> Unit)? = null,