mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
rename new getting updates extension to avoid JVM signature collisions
This commit is contained in:
parent
bd87938e9c
commit
cf9f270651
@ -43,7 +43,7 @@
|
|||||||
* `TelegramBotAPI`:
|
* `TelegramBotAPI`:
|
||||||
* Now `EditMediaGroupUpdate` also extends `BaseEditMessageUpdate`
|
* Now `EditMediaGroupUpdate` also extends `BaseEditMessageUpdate`
|
||||||
* `TelegramBotAPI-extensions-api`:
|
* `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`:
|
* `TelegramBotAPI-extensions-utils`:
|
||||||
* Subproject was added
|
* Subproject was added
|
||||||
* `filterBaseMessageUpdates`, `filterSentMediaGroupUpdates` and `filterEditMediaGroupUpdates` extensions was added
|
* `filterBaseMessageUpdates`, `filterSentMediaGroupUpdates` and `filterEditMediaGroupUpdates` extensions was added
|
||||||
|
@ -71,7 +71,7 @@ fun RequestsExecutor.startGettingOfUpdates(
|
|||||||
* [flowUpdatesPreset] lambda - it will be called BEFORE starting updates getting
|
* [flowUpdatesPreset] lambda - it will be called BEFORE starting updates getting
|
||||||
*/
|
*/
|
||||||
@PreviewFeature
|
@PreviewFeature
|
||||||
fun RequestsExecutor.startGettingOfUpdates(
|
fun RequestsExecutor.startGettingFlowsUpdates(
|
||||||
timeoutSeconds: Seconds = 30,
|
timeoutSeconds: Seconds = 30,
|
||||||
scope: CoroutineScope = CoroutineScope(Dispatchers.Default),
|
scope: CoroutineScope = CoroutineScope(Dispatchers.Default),
|
||||||
exceptionsHandler: (suspend (Exception) -> Unit)? = null,
|
exceptionsHandler: (suspend (Exception) -> Unit)? = null,
|
||||||
|
Loading…
Reference in New Issue
Block a user