Package org.drinkless.tdlib
Class TdApi.TextEntityTypeDateTime
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.TextEntityType
org.drinkless.tdlib.TdApi.TextEntityTypeDateTime
- Enclosing class:
TdApi
A date and time.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.TextEntityType
TdApi.TextEntityType.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Date and time formatting type; may be null if none and the original text must not be changed.intPoint in time (Unix timestamp) representing the date and time. -
Constructor Summary
ConstructorsConstructorDescriptionA date and time.TextEntityTypeDateTime(int unixTime, TdApi.DateTimeFormattingType formattingType) A date and time. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
unixTime
public int unixTimePoint in time (Unix timestamp) representing the date and time. -
formattingType
Date and time formatting type; may be null if none and the original text must not be changed. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
TextEntityTypeDateTime
public TextEntityTypeDateTime()A date and time. -
TextEntityTypeDateTime
A date and time.- Parameters:
unixTime- Point in time (Unix timestamp) representing the date and time.formattingType- Date and time formatting type; may be null if none and the original text must not be changed.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.TextEntityType- Returns:
- this.CONSTRUCTOR
-