MadelineProtoDocs/docs/TD_docs/constructors/animation.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.1 KiB

title description image
animation Describes animation file. Animation should be encoded in gif or mp4 format https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: animation

Back to constructors index

Describes animation file. Animation should be encoded in gif or mp4 format

Attributes:

Name Type Required Description
duration int Yes Duration of the animation in seconds as defined by sender
width int Yes Width of the animation
height int Yes Height of the animation
file_name string Yes Original name of a file as defined by sender
mime_type string Yes MIME type of a file, usually "image/gif" or "video/mp4"
thumb photoSize Yes Animation thumb, nullable
animation file Yes File with the animation

Type: Animation