Layer 220
constructor
mediaAreaVenue#be82db9c coordinates:MediaAreaCoordinates geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MediaArea;

Parameters

Name Type Description
Coordinates MediaAreaCoordinates The size and location of the media area corresponding to the location sticker on top of the story media.
Geo GeoPoint Coordinates of the venue
Title string Venue name
Address string Address
Provider string Venue provider: currently only "foursquare" needs to be supported.
VenueId string Venue ID in the provider's database
VenueType string Venue type in the provider's database

Returns

MediaArea

Gogram Example

// Creating MediaAreaVenue constructor
obj := &tg.MediaAreaVenue{
    Coordinates: &tg.MediaAreaCoordinates{},
    Geo: &tg.GeoPoint{},
    Title: "...",
    Address: "...",
    Provider: "...",
    VenueId: "...",
    // ... more required fields
}