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