inputMediaVenue
Can be used to send a venue geolocation.
type tg.InputMediaVenue struct { /* ... */ }
Implements InputMedia.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
GeoPoint | InputGeoPointClass | yes | Geolocation |
Title | string | yes | Venue name |
Address | string | yes | Physical address of the venue |
Provider | string | yes | Venue provider: currently only "foursquare" and "gplaces" (Google Places) need to be supported |
VenueID | string | yes | Venue ID in the provider's database |
VenueType | string | yes | Venue type in the provider's database |
References
- Official documentation
- Generated Go reference
- TL definition:
inputMediaVenue#c13d1c11