Layer 224
method Users
account.updateBusinessLocation#9e6b131a flags:# geo_point:flags.1?InputGeoPoint address:flags.0?string = Bool;

Parameters

Name Type Description
GeoPoint flags.1?InputGeoPoint Optional, contains a set of geographical coordinates.
Address flags.0?string Mandatory when setting/updating the location, contains a textual description of the address (max 96 UTF-8 chars).

Returns

Bool

Gogram Example

// AccountUpdateBusinessLocation - using Params struct
result, err := client.AccountUpdateBusinessLocation(&tg.AccountUpdateBusinessLocationParams{

    // Optional fields:
    // GeoPoint: &tg.InputGeoPoint{Lat: 40.7128, Long: -74.0060},
    // Address: "Hello, World!",
})
if err != nil {
    // handle error
}
// result is *tg.Bool