Module tdlight.api

Class TdApi.SetBotUpdatesStatus

Enclosing class:
TdApi

public static final class TdApi.SetBotUpdatesStatus extends TdApi.Function<TdApi.Ok>
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:
  • 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
      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
      Throws:
      IOException
  • Method Details