Layer 220
AccountUpdateBusinessLocation
Businesses may advertise their location using this method, see here for more info.
method
Users
account.updateBusinessLocation#9e6b131a flags:# geo_point:flags.1?InputGeoPoint address:flags.0?string = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| 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
BoolGogram Example
// AccountUpdateBusinessLocation - using Params struct result, err := client.AccountUpdateBusinessLocation(&tg.AccountUpdateBusinessLocationParams{ // Optional fields: // GeoPoint: &tg.InputGeoPoint{Lat: 0.0, Long: 0.0}, // Address: "...", }) if err != nil { // handle error } // result is *tg.Bool