MadelineProtoDocs/old_docs/API_docs_v46/constructors/foundGif.md
2018-04-01 13:24:46 +02: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}