MadelineProto/docs/TD_docs/constructors/inputMessageAnimation.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.3 KiB

title description
inputMessageAnimation Animation message

Constructor: inputMessageAnimation

Back to constructors index

Animation message

Attributes:

Name Type Required Description
animation InputFile Yes Animation file to send
thumb InputThumb Yes Animation thumb, if available
width int Yes Width of the animation, may be replaced by the server
height int Yes Height of the animation, may be replaced by the server
caption string Yes Animation caption, 0-200 characters

Type: InputMessageContent

Example:

$inputMessageAnimation = ['_' => 'inputMessageAnimation', 'animation' => InputFile, 'thumb' => InputThumb, 'width' => int, 'height' => int, 'caption' => 'string'];

PWRTelegram json-encoded version:

{"_": "inputMessageAnimation", "animation": InputFile, "thumb": InputThumb, "width": int, "height": int, "caption": "string"}

Or, if you're into Lua:

inputMessageAnimation={_='inputMessageAnimation', animation=InputFile, thumb=InputThumb, width=int, height=int, caption='string'}