class Telegram::API::ShippingAddress
- Telegram::API::ShippingAddress
- Telegram::API::Type
- Reference
- Object
Overview
This object represents a shipping address.
Defined in:
telegram/api/generated/types.crConstructors
- .new(country_code : String, state : String, city : String, street_line1 : String, street_line2 : String, post_code : String)
-
.new(pull : JSON::PullParser)
This object represents a shipping address.
Instance Method Summary
-
#city : String
City
-
#city=(city : String)
City
-
#country_code : String
ISO 3166-1 alpha-2 country code
-
#country_code=(country_code : String)
ISO 3166-1 alpha-2 country code
-
#post_code : String
Address post code
-
#post_code=(post_code : String)
Address post code
-
#state : String
State, if applicable
-
#state=(state : String)
State, if applicable
-
#street_line1 : String
First line for the address
-
#street_line1=(street_line1 : String)
First line for the address
-
#street_line2 : String
Second line for the address
-
#street_line2=(street_line2 : String)
Second line for the address
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(country_code : String, state : String, city : String, street_line1 : String, street_line2 : String, post_code : String)
#