MadelineProtoDocs/old_docs/API_docs_v71/constructors/postAddress.md
2019-12-27 17:48:04 +01:00

1.2 KiB

title description image
postAddress Shipping address https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: postAddress

Back to constructors index

Shipping address

Attributes:

Name Type Required Description
street_line1 string Yes First line for the address
street_line2 string Yes Second line for the address
city string Yes City
state string Yes State, if applicable (empty otherwise)
country_iso2 string Yes ISO 3166-1 alpha-2 country code
post_code string Yes Address post code

Type: PostAddress

Example:

$postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string'];

Or, if you're into Lua:

postAddress={_='postAddress', street_line1='string', street_line2='string', city='string', state='string', country_iso2='string', post_code='string'}