Class TdApi.LocationAddress

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

public static class TdApi.LocationAddress extends TdApi.Object
Describes an address of a location.
  • Field Details

    • countryCode

      public String countryCode
      A two-letter ISO 3166-1 alpha-2 country code.
    • state

      public String state
      State, if applicable; empty if unknown.
    • city

      public String city
      City; empty if unknown.
    • street

      public String street
      The address; empty if unknown.
    • CONSTRUCTOR

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

    • LocationAddress

      public LocationAddress()
      Describes an address of a location.
    • LocationAddress

      public LocationAddress(String countryCode, String state, String city, String street)
      Describes an address of a location.
      Parameters:
      countryCode - A two-letter ISO 3166-1 alpha-2 country code.
      state - State, if applicable; empty if unknown.
      city - City; empty if unknown.
      street - The address; empty if unknown.
  • 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