MadelineProtoDocs/old_docs/API_docs_v82/constructors/messages_savedGifs.md

46 lines
888 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: messages.savedGifs
description: Saved gifs
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messages.savedGifs
[Back to constructors index](index.md)
Saved gifs
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|hash|[int](../types/int.md) | Yes|Hash|
|gifs|Array of [Document](../types/Document.md) | Yes|Gifs|
### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md)
### Example:
```php
$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "messages.savedGifs", "hash": int, "gifs": [Document]}
```
Or, if you're into Lua:
```lua
messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}}
```