Layer 220
MediaAreaGeoPoint
Represents a geolocation tag attached to a story.
constructor
mediaAreaGeoPoint#cad5452d flags:# coordinates:MediaAreaCoordinates geo:GeoPoint address:flags.0?GeoPointAddress = MediaArea;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Coordinates | MediaAreaCoordinates | The size and position of the media area corresponding to the location sticker on top of the story media. |
| Geo | GeoPoint | Coordinates of the geolocation tag. |
| Address | flags.0?GeoPointAddress | Optional textual representation of the address. |
Returns
MediaAreaGogram Example
// Creating MediaAreaGeoPoint constructor obj := &tg.MediaAreaGeoPoint{ Coordinates: &tg.MediaAreaCoordinates{}, Geo: &tg.GeoPoint{}, // Optional fields: // Address: &tg.GeoPointAddress{}, }