MadelineProtoDocs/old_docs/API_docs_v91/constructors/foundGif.md
2019-03-08 13:49:23 +01:00

1.2 KiB

title description image
foundGif Found gif https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: foundGif

Back to constructors index

Found gif

Attributes:

Name Type Required Description
url string Yes URL
thumb_url string Yes Thumbnail URL
content_url string Yes Content URL
content_type string Yes Content type
w int Yes Width
h int Yes Height

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}