mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-11 11:39:37 +01:00
44 lines
782 B
Markdown
44 lines
782 B
Markdown
---
|
|
title: inputMediaGifExternal
|
|
description: inputMediaGifExternal attributes, type and example
|
|
---
|
|
## Constructor: inputMediaGifExternal
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required |
|
|
|----------|:-------------:|---------:|
|
|
|url|[string](../types/string.md) | Yes|
|
|
|q|[string](../types/string.md) | Yes|
|
|
|
|
|
|
|
|
### Type: [InputMedia](../types/InputMedia.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string'];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "inputMediaGifExternal", "url": "string", "q": "string"}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'}
|
|
|
|
```
|
|
|
|
|