Constructor
- Source:
Properties:
Name |
Type |
Attributes |
Description |
type |
String
|
|
The type of the media |
id |
String
|
<optional>
|
The id of the media |
link |
String
|
<optional>
|
The link of the media |
_ |
String
|
|
The type of the object, for internal use only |
This method works as a placeholder so the documentation looks nice.
You shouldn't be using it directly ¯\_(ツ)_/¯.
Parameters:
Name |
Type |
Default |
Description |
type |
String
|
|
Type of the parameter |
file |
String
|
|
File to be sent |
isItAnID |
Boolean
|
false
|
If the file is an ID (true) or an URL (false) |
Throws:
-
-
If type is not provided
-
-
Type
-
Error
-
-
If file is not provided
-
-
Type
-
Error