Layer 220
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

PostAddress

Gogram Example

// Creating PostAddress constructor
obj := &tg.PostAddress{
    StreetLine1: "...",
    StreetLine2: "...",
    City: "...",
    State: "...",
    CountryIso2: "...",
    PostCode: "...",
}