1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 13:46:54 +01:00
MadelineProto/docs/TD_docs/constructors/inputMessageVideo.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.5 KiB

title description
inputMessageVideo Video message

Constructor: inputMessageVideo

Back to constructors index

Video message

Attributes:

Name Type Required Description
video InputFile Yes Video to send
thumb InputThumb Yes Video thumb, if available
added_sticker_file_ids Array of int Yes File identifiers of stickers added onto the video
duration int Yes Duration of video in seconds
width int Yes Video width
height int Yes Video height
caption string Yes Video caption, 0-200 characters

Type: InputMessageContent

Example:

$inputMessageVideo = ['_' => 'inputMessageVideo', 'video' => InputFile, 'thumb' => InputThumb, 'added_sticker_file_ids' => [int], 'duration' => int, 'width' => int, 'height' => int, 'caption' => 'string'];

PWRTelegram json-encoded version:

{"_": "inputMessageVideo", "video": InputFile, "thumb": InputThumb, "added_sticker_file_ids": [int], "duration": int, "width": int, "height": int, "caption": "string"}

Or, if you're into Lua:

inputMessageVideo={_='inputMessageVideo', video=InputFile, thumb=InputThumb, added_sticker_file_ids={int}, duration=int, width=int, height=int, caption='string'}