Class TdApi.RichTextDateTime

Enclosing class:
TdApi

public static class TdApi.RichTextDateTime extends TdApi.RichText
A date and time.
  • Field Details

    • text

      public TdApi.RichText text
      Original text.
    • unixTime

      public int unixTime
      Point in time (Unix timestamp) representing the date and time.
    • formattingType

      public TdApi.DateTimeFormattingType formattingType
      Date and time formatting type; may be null if none and the original text must not be changed.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR