Package org.drinkless.tdlib
Class TdApi.RichTextDateTime
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.RichText
org.drinkless.tdlib.TdApi.RichTextDateTime
- Enclosing class:
- TdApi
A date and time.
-
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.Original text.intPoint in time (Unix timestamp) representing the date and time. -
Constructor Summary
ConstructorsConstructorDescriptionA date and time.RichTextDateTime(TdApi.RichText text, 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
-
text
Original text. -
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
-
RichTextDateTime
public RichTextDateTime()A date and time. -
RichTextDateTime
public RichTextDateTime(TdApi.RichText text, int unixTime, TdApi.DateTimeFormattingType formattingType) A date and time.- Parameters:
text- Original text.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.Object- Returns:
- this.CONSTRUCTOR
-