libtd-ktx / kotlinx.telegram.coroutines / setBotUpdatesStatus
setBotUpdatesStatus
suspend fun
TelegramFlow
.setBotUpdatesStatus(pendingUpdateCount:
Int
, errorMessage:
String
?):
Unit
Suspend function, which informs the server about the number of pending bot updates if they haven’t been processed for a long time; for bots only.
Parameters
pendingUpdateCount
- The number of pending updates.
errorMessage
- The last error message.