public static class TdApi.SetBotUpdatesStatus extends TdApi.Function<TdApi.Ok>
Returns Ok
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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()
TdApi.ObjectgetConstructor in class TdApi.Object