Package org.drinkless.tdlib
Class TdApi.SetAlarm
- Enclosing class:
- TdApi
Succeeds after a specified amount of time has passed. Can be called before initialization.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.doubleNumber of seconds before the function returns. -
Constructor Summary
Constructors -
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
-
seconds
public double secondsNumber of seconds before the function returns. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetAlarm
public SetAlarm()Default constructor for a function, which succeeds after a specified amount of time has passed. Can be called before initialization.Returns
Ok -
SetAlarm
public SetAlarm(double seconds) Creates a function, which succeeds after a specified amount of time has passed. Can be called before initialization.Returns
Ok- Parameters:
seconds- Number of seconds before the function returns.
-
-
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
-