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 Detail

      • pendingUpdateCount

        public int pendingUpdateCount
        The number of pending updates.
      • errorMessage

        public 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 for a 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.

        Returns Ok

      • SetBotUpdatesStatus

        public SetBotUpdatesStatus​(int pendingUpdateCount,
                                   String errorMessage)
        Creates a 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.

        Returns Ok

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