Layer 220
BotInlineMessageMediaVenue
Send a venue
constructor
botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Geo | GeoPoint | Geolocation of venue |
| 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
BotInlineMessageGogram Example
// Creating BotInlineMessageMediaVenue constructor obj := &tg.BotInlineMessageMediaVenue{ Geo: &tg.GeoPoint{}, Title: "...", Address: "...", Provider: "...", VenueId: "...", VenueType: "...", // Optional fields: // ReplyMarkup: &tg.ReplyKeyboardMarkup{Rows: []tg.KeyboardButtonRow{}}, }