public static class TdApi.SetAlarm extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
double |
seconds
Number of seconds before the function returns.
|
| Constructor and Description |
|---|
SetAlarm()
Default constructor for a function, which succeeds after a specified amount of time has passed.
|
SetAlarm(double seconds)
Creates a function, which succeeds after a specified amount of time has passed.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic double seconds
public static final int CONSTRUCTOR
public SetAlarm()
Returns Ok
public SetAlarm(double seconds)
Returns Ok
seconds - Number of seconds before the function returns.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object