Layer 224
InputBotInlineMessageMediaVenue
Venue
constructor
inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
Parameters
| Name | Type | Description |
|---|---|---|
| GeoPoint | InputGeoPoint | Geolocation |
| Title | string | Venue name |
| Address | string | Address |
| 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 |
| ReplyMarkup | flags.2?ReplyMarkup | Inline keyboard |
Returns
InputBotInlineMessageGogram Example
// Creating InputBotInlineMessageMediaVenue constructor obj := &tg.InputBotInlineMessageMediaVenue{ GeoPoint: &tg.InputGeoPoint{Lat: 40.7128, Long: -74.0060}, Title: "Hello, World!", Address: "Hello, World!", Provider: "Hello, World!", VenueId: "Hello, World!", VenueType: "Hello, World!", // Optional fields: // ReplyMarkup: &tg.ReplyKeyboardMarkup{Rows: []tg.KeyboardButtonRow{{Buttons: []tg.KeyboardButton{&tg.KeyboardButton{Text: "Click Me"}}}}}, }