Layer 220
InputMediaVenue
Can be used to send a venue geolocation.
constructor
inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia;
Parameters
| Name | Type | Description |
|---|---|---|
| GeoPoint | InputGeoPoint | Geolocation |
| Title | string | Venue name |
| Address | string | Physical address of the venue |
| Provider | string | Venue provider: currently only "foursquare" and "gplaces" (Google Places) need to be supported |
| VenueId | string | Venue ID in the provider's database |
| VenueType | string | Venue type in the provider's database |
Returns
InputMediaGogram Example
// Creating InputMediaVenue constructor obj := &tg.InputMediaVenue{ GeoPoint: &tg.InputGeoPoint{Lat: 0.0, Long: 0.0}, Title: "...", Address: "...", Provider: "...", VenueId: "...", VenueType: "...", }