public static class TdApi.SetBotUpdatesStatus extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and 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 and 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,
java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int pendingUpdateCount
public java.lang.String errorMessage
public static final int CONSTRUCTOR
public SetBotUpdatesStatus()
Returns Ok
public SetBotUpdatesStatus(int pendingUpdateCount, java.lang.String errorMessage)
Returns Ok
pendingUpdateCount
- The number of pending updates.errorMessage
- The last error message.public int getConstructor()
getConstructor
in class TdApi.Function