1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 03:07:21 +01:00
MadelineProto/old_docs/API_docs_v55/constructors/foundGif.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.1 KiB

title description
foundGif foundGif attributes, type and example

Constructor: foundGif

Back to constructors index

Attributes:

Name Type Required
url string Yes
thumb_url string Yes
content_url string Yes
content_type string Yes
w int Yes
h int Yes

Type: FoundGif

Example:

$foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int];

PWRTelegram json-encoded version:

{"_": "foundGif", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int}

Or, if you're into Lua:

foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int}