mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 23:46:54 +01:00
1.3 KiB
1.3 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'];
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'}