1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 02:26:55 +01:00
MadelineProto/docs/TD_docs/constructors/animations.md
2017-07-23 16:11:02 +02:00

733 B

title description
animations Represents list of animations

Constructor: animations

Back to constructors index

Represents list of animations

Attributes:

Name Type Required Description
animations Array of animation Yes Animations

Type: Animations

Example:

$animations = ['_' => 'animations', 'animations' => [animation], ];

PWRTelegram json-encoded version:

{"_":"animations","animations":["animation"]}

Or, if you're into Lua:

animations={_='animations', animations={animation}, }