1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 16:27:22 +01:00
MadelineProto/old_docs/API_docs_v68/constructors/inputMediaPhotoExternal.md

44 lines
822 B
Markdown
Raw Normal View History

2017-07-23 17:44:01 +02:00
---
title: inputMediaPhotoExternal
description: inputMediaPhotoExternal attributes, type and example
---
## Constructor: inputMediaPhotoExternal
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|url|[string](../types/string.md) | Yes|
|caption|[string](../types/string.md) | Yes|
### Type: [InputMedia](../types/InputMedia.md)
### Example:
```
$inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputMediaPhotoExternal", "url": "string", "caption": "string"}
```
Or, if you're into Lua:
```
inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', caption='string'}
```