MadelineProtoDocs/old_docs/API_docs_v71/constructors/postAddress.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.3 KiB

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

Constructor: postAddress

Back to constructors index

Post address

Attributes:

Name Type Required Description
street_line1 string Yes Street line1
street_line2 string Yes Street line2
city string Yes City
state string Yes State
country_iso2 string Yes Country iso2
post_code string Yes Post code

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'}