Skip to main content

inputMediaVenue

Can be used to send a venue geolocation.

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

Implements InputMedia.

Fields

NameTypeRequiredDescription
GeoPointInputGeoPointClassyesGeolocation
TitlestringyesVenue name
AddressstringyesPhysical address of the venue
ProviderstringyesVenue provider: currently only "foursquare" and "gplaces" (Google Places) need to be supported
VenueIDstringyesVenue ID in the provider's database
VenueTypestringyesVenue type in the provider's database

References