1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 04:39:37 +01:00
MadelineProto/old_docs/API_docs_v46/constructors/inputMediaVideo.md
2017-07-23 16:33:46 +02:00

780 B

title description
inputMediaVideo inputMediaVideo attributes, type and example

Constructor: inputMediaVideo

Back to constructors index

Attributes:

Name Type Required
video InputVideo Yes
caption string Yes

Type: InputMedia

Example:

$inputMediaVideo = ['_' => 'inputMediaVideo', 'video' => InputVideo, 'caption' => 'string'];

PWRTelegram json-encoded version:

{"_": "inputMediaVideo", "video": InputVideo, "caption": "string"}

Or, if you're into Lua:

inputMediaVideo={_='inputMediaVideo', video=InputVideo, caption='string'}