mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
---
|
|
title: "botInlineMessageMediaVenue"
|
|
description: "Send a venue"
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: botInlineMessageMediaVenue
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
Send a venue
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|geo|[GeoPoint](/API_docs/types/GeoPoint.html) | Optional|Geolocation of venue|
|
|
|title|[string](/API_docs/types/string.html) | Yes|Venue name|
|
|
|address|[string](/API_docs/types/string.html) | Yes|Address|
|
|
|provider|[string](/API_docs/types/string.html) | Yes|Venue provider: currently only "foursquare" and "gplaces" (Google Places) need to be supported|
|
|
|venue\_id|[string](/API_docs/types/string.html) | Yes|Venue ID in the provider's database|
|
|
|venue\_type|[string](/API_docs/types/string.html) | Yes|Venue type in the provider's database|
|
|
|reply\_markup|[ReplyMarkup](/API_docs/types/ReplyMarkup.html) | Optional|Inline keyboard|
|
|
|
|
|
|
|
|
### Type: [BotInlineMessage](/API_docs/types/BotInlineMessage.html)
|
|
|
|
|
|
|
|
## Usage of reply_markup
|
|
|
|
You can provide bot API reply_markup objects here.
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string', 'reply_markup' => ReplyMarkup];
|
|
```
|