1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-16 03:46:55 +01:00
MadelineProto/docs/TD_docs/constructors/inlineQueryResultVenue.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

49 lines
1.3 KiB
Markdown

---
title: inlineQueryResultVenue
description: Represents information about a venue
---
## Constructor: inlineQueryResultVenue
[Back to constructors index](index.md)
Represents information about a venue
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[string](../types/string.md) | Yes|Unique identifier of this result|
|venue|[venue](../types/venue.md) | Yes|The result|
|thumb\_url|[string](../types/string.md) | Yes|Url of the result thumb, if exists|
|thumb\_width|[int](../types/int.md) | Yes|Thumb width, if known|
|thumb\_height|[int](../types/int.md) | Yes|Thumb height, if known|
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultVenue = ['_' => 'inlineQueryResultVenue', 'id' => 'string', 'venue' => venue, 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultVenue", "id": "string", "venue": venue, "thumb_url": "string", "thumb_width": int, "thumb_height": int}
```
Or, if you're into Lua:
```
inlineQueryResultVenue={_='inlineQueryResultVenue', id='string', venue=venue, thumb_url='string', thumb_width=int, thumb_height=int}
```