Package org.drinkless.tdlib
Class TdApi.SetBotUpdatesStatus
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.StringerrorMessageThe last error message.intpendingUpdateCountThe number of pending updates.
-
Constructor Summary
Constructors Constructor Description 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.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-