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