MadelineProto/docs/TD_docs/constructors/animations.md

45 lines
730 B
Markdown
Raw Normal View History

---
title: animations
description: Represents list of animations
---
## Constructor: animations
[Back to constructors index](index.md)
Represents list of animations
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|animations|Array of [animation](../constructors/animation.md) | Yes|Animations|
### Type: [Animations](../types/Animations.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$animations = ['_' => 'animations', 'animations' => [animation]];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "animations", "animations": [animation]}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
animations={_='animations', animations={animation}}
```