mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 14:27:21 +01:00
1.1 KiB
1.1 KiB
title | description |
---|---|
inputMessageAnimation | Animation message |
Constructor: inputMessageAnimation
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, ];
Or, if you're into Lua:
inputMessageAnimation={_='inputMessageAnimation', animation=InputFile, thumb=InputThumb, width=int, height=int, caption=string, }