MadelineProtoDocs/old_docs/API_docs_v10/constructors/botInlineMediaResultPhoto.md

40 lines
983 B
Markdown
Raw Permalink Normal View History

2020-06-16 17:50:25 +02:00
---
title: botInlineMediaResultPhoto
description: botInlineMediaResultPhoto attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: botInlineMediaResultPhoto
[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|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|
### Type: [BotInlineResult](../types/BotInlineResult.md)
### Example:
```php
$botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'send_message' => BotInlineMessage];
```
Or, if you're into Lua:
```lua
botInlineMediaResultPhoto={_='botInlineMediaResultPhoto', id='string', type='string', photo=Photo, send_message=BotInlineMessage}
```