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

40 lines
853 B
Markdown
Raw Normal View History

2019-06-23 13:07:51 +02: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 |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)|
2019-06-23 13:07:51 +02:00
|gifs|Array of [Document](../types/Document.md) | Yes|Gifs|
2019-12-27 18:25:37 +01:00
### Type: [messages.SavedGifs](../types/messages.SavedGifs.md)
2019-06-23 13:07:51 +02:00
### Example:
```php
2019-12-27 18:25:37 +01:00
$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]];
2019-06-23 13:07:51 +02:00
```
Or, if you're into Lua:
```lua
2019-12-27 18:25:37 +01:00
messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}}
2019-06-23 13:07:51 +02:00
```