MadelineProtoDocs/docs/API_docs/constructors/postAddress.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.3 KiB

title description image
postAddress postAddress attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: postAddress

Back to constructors index

Attributes:

Name Type Required
street_line1 string Yes
street_line2 string Yes
city string Yes
state string Yes
country_iso2 string Yes
post_code string Yes

Type: PostAddress

Example:

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

PWRTelegram json-encoded version:

{"_": "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'}