mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 13:07:23 +01:00
768 B
768 B
title | description |
---|---|
inputMediaVideo | inputMediaVideo attributes, type and example |
Constructor: inputMediaVideo
Attributes:
Name | Type | Required |
---|---|---|
id | InputVideo | Yes |
caption | string | Yes |
Type: InputMedia
Example:
$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string'];
PWRTelegram json-encoded version:
{"_": "inputMediaVideo", "id": InputVideo, "caption": "string"}
Or, if you're into Lua:
inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption='string'}