handleUpdates

suspend fun handleUpdates(allowedUpdates: List<UpdateType>? = null)

Function for processing updates by long-pulling using annotation commands.

Note that when using this method, other processing will be interrupted and reassigned.


suspend fun handleUpdates(allowedUpdates: List<UpdateType>? = null, block: FunctionalHandlingBlock)

Function for processing updates by long-pulling using functional handling.

Note that when using this method, other processing will be interrupted and reassigned.

Parameters