Sha256: 38f02d1c4cf8248d91d8bf2766d827f2ab3a31a07c81624d96b425bc99852be2

Contents?: true

Size: 738 Bytes

Versions: 3

Compression:

Stored size: 738 Bytes

Contents

module TD::Types
  # Describes an address.
  #
  # @attr country_code [TD::Types::String] A two-letter ISO 3166-1 alpha-2 country code.
  # @attr state [TD::Types::String] State, if applicable.
  # @attr city [TD::Types::String] City.
  # @attr street_line1 [TD::Types::String] First line of the address.
  # @attr street_line2 [TD::Types::String] Second line of the address.
  # @attr postal_code [TD::Types::String] Address postal code.
  class Address < Base
    attribute :country_code, TD::Types::String
    attribute :state, TD::Types::String
    attribute :city, TD::Types::String
    attribute :street_line1, TD::Types::String
    attribute :street_line2, TD::Types::String
    attribute :postal_code, TD::Types::String
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/address.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/address.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/address.rb