MadelineProtoDocs/old_docs/API_docs_v109/constructors/messages.savedGifs.md

41 lines
915 B
Markdown
Raw Permalink Normal View History

2020-03-06 12:24:14 +01:00
---
title: messages.savedGifs
description: Saved gifs
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/messages_savedGifs.html
---
# Constructor: messages.savedGifs
[Back to constructors index](index.md)
Saved gifs
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)|
|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]];
```
Or, if you're into Lua:
```lua
messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}}
```