mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 13:46:54 +01:00
1.5 KiB
1.5 KiB
title | description |
---|---|
inputMessageVideo | Video message |
Constructor: inputMessageVideo
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'}