Package org.drinkless.tdlib
Class TdApi.SetBotUpdatesStatus
- Enclosing class:
- TdApi
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
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The last error message.intThe number of pending updates. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
pendingUpdateCount
public int pendingUpdateCountThe number of pending updates. -
errorMessage
The last error message. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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
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 Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-