Layer 227
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 |
|---|---|---|
| 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 - positional arguments result, err := client.AccountUpdateBusinessLocation(nil, "Hello, World!") if err != nil { // handle error } // result is *tg.Bool