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 Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      java.lang.String errorMessage
      The last error message.
      int pendingUpdateCount
      The number of pending updates.
    • Constructor Summary

      Constructors 
      Constructor Description
      SetBotUpdatesStatus()
      Default constructor.
      SetBotUpdatesStatus​(int pendingUpdateCount, java.lang.String errorMessage)
      Constructor for initialization of all fields.
    • Field Detail

      • pendingUpdateCount

        public int pendingUpdateCount
        The number of pending updates.
      • errorMessage

        public java.lang.String errorMessage
        The last error message.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SetBotUpdatesStatus

        public SetBotUpdatesStatus()
        Default constructor.
      • SetBotUpdatesStatus

        public SetBotUpdatesStatus​(int pendingUpdateCount,
                                   java.lang.String errorMessage)
        Constructor for initialization of all fields.
        Parameters:
        pendingUpdateCount - The number of pending updates.
        errorMessage - The last error message.