Layer 220
BusinessLocation
Represents the location of a Telegram Business.
constructor
businessLocation#ac5c1af7 flags:# geo_point:flags.0?GeoPoint address:string = BusinessLocation;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| GeoPoint | flags.0?GeoPoint | Geographical coordinates (optional). |
| Address | string | Textual description of the address (mandatory). |
Returns
BusinessLocationGogram Example
// Creating BusinessLocation constructor obj := &tg.BusinessLocation{ Address: "...", // Optional fields: // GeoPoint: &tg.GeoPoint{}, }