MadelineProtoDocs/docs/API_docs/constructors/postAddress.md
2024-05-01 14:53:46 +02:00

1.1 KiB

title description nav_exclude image
postAddress Shipping address true 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'];