Class TdApi.TextEntityTypeDateTime

Enclosing class:
TdApi

public static class TdApi.TextEntityTypeDateTime extends TdApi.TextEntityType
A date and time.
  • Field Details

    • unixTime

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

      @Nullable 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

    • TextEntityTypeDateTime

      public TextEntityTypeDateTime()
      A date and time.
    • TextEntityTypeDateTime

      public TextEntityTypeDateTime(int unixTime, TdApi.DateTimeFormattingType formattingType)
      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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.TextEntityType
      Returns:
      this.CONSTRUCTOR