pushUpdate

abstract suspend fun pushUpdate(update: Update, raw: String? = null)(source)

Proactively pushes an Update and triggers internal event handling.

           [ Update ]
|
v
[ pre event processors ] (sequentially)
|
| (launch)
v
[ event processors ] (asynchronously)

Long polling also uses pushUpdate to push events.

Parameters

raw

See also

Throws