mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 20:06:58 +01:00
1.2 KiB
1.2 KiB
title | description |
---|---|
postAddress | postAddress attributes, type and example |
Constructor: postAddress
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'}