Class TdApi.TimeZone

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

public static class TdApi.TimeZone extends TdApi.Object
Describes a time zone.
  • Field Details

    • id

      public String id
      Unique time zone identifier.
    • name

      public String name
      Time zone name.
    • utcTimeOffset

      public int utcTimeOffset
      Current UTC time offset for the time zone.
    • CONSTRUCTOR

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

    • TimeZone

      public TimeZone()
      Describes a time zone.
    • TimeZone

      public TimeZone(String id, String name, int utcTimeOffset)
      Describes a time zone.
      Parameters:
      id - Unique time zone identifier.
      name - Time zone name.
      utcTimeOffset - Current UTC time offset for the time zone.
  • 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