MadelineProtoDocs/old_docs/API_docs_v42/constructors/foundGif.md
2020-09-12 12:47:38 +02:00

1.0 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 GIF URL
thumb_url string Yes Thumbnail URL
content_url string Yes Actual URL of the content to send
content_type string Yes Content-type of media
w int Yes Width of GIF
h int Yes Height of GIF

Type: FoundGif

Example:

$foundGif = ['_' => '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}