Skip to main content

mediaAreaVenue

Represents a location tag attached to a story, with additional venue information.

type tg.MediaAreaVenue struct { /* ... */ }

Implements MediaArea.

Fields​

NameTypeRequiredDescription
CoordinatesMediaAreaCoordinatesyesThe size and location of the media area corresponding to the location sticker on top of the story media.
GeoGeoPointClassyesCoordinates of the venue
TitlestringyesVenue name
AddressstringyesAddress
ProviderstringyesVenue provider: currently only "foursquare" needs to be supported.
VenueIDstringyesVenue ID in the provider's database
VenueTypestringyesVenue type in the provider's database

References​