struct

Telegram::ShippingAddress

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: ShippingAddress This object represents a shipping address.

Constructors

new(country_code : String, state : String, city : String, street_line1 : String, street_line2 : String, post_code : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

city
clone
Source
copy_with(country_code _country_code = @country_code, state _state = @state, city _city = @city, street_line1 _street_line1 = @street_line1, street_line2 _street_line2 = @street_line2, post_code _post_code = @post_code)
Source
country_code
post_code
state
street_line1
street_line2