Class TdApi.DateRange

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.DateRange
Enclosing class:
TdApi

public static class TdApi.DateRange extends TdApi.Object
Represents a date range.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    int
    Point in time (Unix timestamp) at which the date range ends.
    int
    Point in time (Unix timestamp) at which the date range begins.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Represents a date range.
    DateRange(int startDate, int endDate)
    Represents a date range.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • startDate

      public int startDate
      Point in time (Unix timestamp) at which the date range begins.
    • endDate

      public int endDate
      Point in time (Unix timestamp) at which the date range ends.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • DateRange

      public DateRange()
      Represents a date range.
    • DateRange

      public DateRange(int startDate, int endDate)
      Represents a date range.
      Parameters:
      startDate - Point in time (Unix timestamp) at which the date range begins.
      endDate - Point in time (Unix timestamp) at which the date range ends.
  • 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