1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-18 06:13:47 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.utils.updates.retrieving/update-handler-with-media-groups-adaptation.md
2021-03-17 15:18:37 +00:00

49 lines
3.9 KiB
Markdown

//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.utils.updates.retrieving](index.md)/[updateHandlerWithMediaGroupsAdaptation](update-handler-with-media-groups-adaptation.md)
# updateHandlerWithMediaGroupsAdaptation
[common]
Content
fun .[updateHandlerWithMediaGroupsAdaptation](update-handler-with-media-groups-adaptation.md)(output: [UpdateReceiver](../dev.inmo.tgbotapi.updateshandlers/index.md#%5Bdev.inmo.tgbotapi.updateshandlers%2FUpdateReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)<[Update](../dev.inmo.tgbotapi.types.update.abstracts/-update/index.md)>, debounceTimeMillis: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) = 1000L): [UpdateReceiver](../dev.inmo.tgbotapi.updateshandlers/index.md#%5Bdev.inmo.tgbotapi.updateshandlers%2FUpdateReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)<[Update](../dev.inmo.tgbotapi.types.update.abstracts/-update/index.md)>
More info
Create [UpdateReceiver](../dev.inmo.tgbotapi.updateshandlers/index.md#%5Bdev.inmo.tgbotapi.updateshandlers%2FUpdateReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081) object which will correctly accumulate updates and send into output updates which INCLUDE [dev.inmo.tgbotapi.types.update.MediaGroupUpdates.MediaGroupUpdate](../dev.inmo.tgbotapi.types.update.MediaGroupUpdates/-media-group-update/index.md)s.
## See also
common
| | |
|---|---|
| <a name="dev.inmo.tgbotapi.extensions.utils.updates.retrieving//updateHandlerWithMediaGroupsAdaptation/kotlinx.coroutines.CoroutineScope#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.types.update.abstracts.Update,kotlin.Unit]#kotlin.Long/PointingToDeclaration/"></a>[dev.inmo.tgbotapi.updateshandlers.UpdateReceiver](../dev.inmo.tgbotapi.updateshandlers/index.md#%5Bdev.inmo.tgbotapi.updateshandlers%2FUpdateReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)| <a name="dev.inmo.tgbotapi.extensions.utils.updates.retrieving//updateHandlerWithMediaGroupsAdaptation/kotlinx.coroutines.CoroutineScope#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.types.update.abstracts.Update,kotlin.Unit]#kotlin.Long/PointingToDeclaration/"></a>|
[common]
Content
fun .[updateHandlerWithMediaGroupsAdaptation](update-handler-with-media-groups-adaptation.md)(output: [UpdateReceiver](../dev.inmo.tgbotapi.updateshandlers/index.md#%5Bdev.inmo.tgbotapi.updateshandlers%2FUpdateReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)<[Update](../dev.inmo.tgbotapi.types.update.abstracts/-update/index.md)>): suspend ([Update](../dev.inmo.tgbotapi.types.update.abstracts/-update/index.md)) -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
More info
Create [UpdateReceiver](../dev.inmo.tgbotapi.updateshandlers/index.md#%5Bdev.inmo.tgbotapi.updateshandlers%2FUpdateReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081) object which will correctly accumulate updates and send into output updates which INCLUDE [dev.inmo.tgbotapi.types.update.MediaGroupUpdates.MediaGroupUpdate](../dev.inmo.tgbotapi.types.update.MediaGroupUpdates/-media-group-update/index.md)s.
## See also
common
| | |
|---|---|
| <a name="dev.inmo.tgbotapi.extensions.utils.updates.retrieving//updateHandlerWithMediaGroupsAdaptation/kotlinx.coroutines.CoroutineScope#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.types.update.abstracts.Update,kotlin.Unit]/PointingToDeclaration/"></a>[dev.inmo.tgbotapi.updateshandlers.UpdateReceiver](../dev.inmo.tgbotapi.updateshandlers/index.md#%5Bdev.inmo.tgbotapi.updateshandlers%2FUpdateReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)| <a name="dev.inmo.tgbotapi.extensions.utils.updates.retrieving//updateHandlerWithMediaGroupsAdaptation/kotlinx.coroutines.CoroutineScope#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.types.update.abstracts.Update,kotlin.Unit]/PointingToDeclaration/"></a>|