MadelineProto/docs/TD_docs/constructors/inputMessageAnimation.md
2017-07-23 16:33:46 +02: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'}