Constructor
new Video(video, isItAnID, captionopt)
- Source:
Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
caption |
String |
<optional> |
The file's caption |
Create a Video object for the API
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
video |
String | The video file's link | ||
isItAnID |
Boolean |
false
|
Whether video is an id (true) or a link (false) | |
caption |
String |
<optional> |
Describes the specified video media |