SetBotUpdatesStatus constructor

const SetBotUpdatesStatus({
  1. required int pendingUpdateCount,
  2. required String errorMessage,
})

SetBotUpdatesStatus (setBotUpdatesStatus) - TDLib function

Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only.

  • pendingUpdateCount: The number of pending updates.
  • errorMessage: The last error message.

Ok is returned on completion.

Implementation

const SetBotUpdatesStatus({
  required this.pendingUpdateCount,
  required this.errorMessage,
});