Layer 228
PostAddressObj
Shipping address
constructor
postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress;
Parameters
| Name | Type | Description |
|---|---|---|
| StreetLine1 | string | First line for the address |
| StreetLine2 | string | Second line for the address |
| City | string | City |
| State | string | State, if applicable (empty otherwise) |
| CountryIso2 | string | ISO 3166-1 alpha-2 country code |
| PostCode | string | Address post code |
Returns
PostAddressGogram Example
// Creating PostAddressObj constructor obj := &tg.PostAddressObj{ StreetLine1: "example", StreetLine2: "example", City: "example", State: "example", CountryIso2: "US", PostCode: "12345", }