postAddress
Shipping address
type tg.PostAddress struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
StreetLine1 | string | yes | First line for the address |
StreetLine2 | string | yes | Second line for the address |
City | string | yes | City |
State | string | yes | State, if applicable (empty otherwise) |
CountryISO2 | string | yes | ISO 3166-1 alpha-2 country code |
PostCode | string | yes | Address post code |
References
- Official documentation
- Generated Go reference
- TL definition:
postAddress#1e8caaeb