Package dev.inmo.tgbotapi.extensions.api.utils

Functions

updateHandlerWithMediaGroupsAdaptation
Link copied to clipboard

Create UpdateReceiver object which will correctly accumulate updates and send into output updates which INCLUDE dev.inmo.tgbotapi.types.update.MediaGroupUpdates.MediaGroupUpdates.

common
fun CoroutineScope.updateHandlerWithMediaGroupsAdaptation(output: SuspendFunction1<Update, Unit>, mediaGroupsDebounceMillis: Long): SuspendFunction1<Update, Unit>