Class TdApi.SetBotUpdatesStatus

Enclosing class:
TdApi

public static class TdApi.SetBotUpdatesStatus
extends TdApi.Function
Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only.

Returns Ok

  • Field Details

    • pendingUpdateCount

      public int pendingUpdateCount
      The number of pending updates.
    • errorMessage

      public String errorMessage
      The last error message.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • SetBotUpdatesStatus

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

      Returns Ok

    • SetBotUpdatesStatus

      public SetBotUpdatesStatus​(int pendingUpdateCount, String errorMessage)
      Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only.

      Returns Ok

      Parameters:
      pendingUpdateCount - int The number of pending updates.
      errorMessage - String The last error message.
    • SetBotUpdatesStatus

      public SetBotUpdatesStatus​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details