MadelineProto/docs/API_docs/constructors/botInlineMediaResult.md

42 lines
1.1 KiB
Markdown
Raw Normal View History

2016-12-20 13:15:22 +01:00
---
title: botInlineMediaResult
2016-12-20 13:32:11 +01:00
description: botInlineMediaResult attributes, type and example
2016-12-20 13:15:22 +01:00
---
## Constructor: botInlineMediaResult
2016-12-20 13:15:22 +01:00
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[string](../types/string.md) | Yes|
|type|[string](../types/string.md) | Yes|
|photo|[Photo](../types/Photo.md) | Optional|
|document|[Document](../types/Document.md) | Optional|
|title|[string](../types/string.md) | Optional|
|description|[string](../types/string.md) | Optional|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|
2016-12-19 18:56:05 +01:00
### Type: [BotInlineResult](../types/BotInlineResult.md)
### Example:
```
2016-12-30 21:21:36 +01:00
$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ];
```
Or, if you're into Lua:
```
botInlineMediaResult={_='botInlineMediaResult', id=string, type=string, photo=Photo, document=Document, title=string, description=string, send_message=BotInlineMessage, }
```