mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image |
---|---|---|---|
postAddress | Shipping address | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: postAddress
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'];