MadelineProto/docs/TD_docs/constructors/messageVenue.md

45 lines
709 B
Markdown
Raw Normal View History

---
title: messageVenue
description: Message with information about venue
---
## Constructor: messageVenue
[Back to constructors index](index.md)
Message with information about venue
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|venue|[venue](../types/venue.md) | Yes|Message content|
### Type: [MessageContent](../types/MessageContent.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$messageVenue = ['_' => 'messageVenue', 'venue' => venue];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "messageVenue", "venue": venue}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
messageVenue={_='messageVenue', venue=venue}
```