media.reportOffensive
Syntax
mixed media.reportOffensive ( int vhost, int mid, array parameters = array() )Argument Info
Type | Description | |||
---|---|---|---|---|
none | The vhost ID of the media item you want to log as offensive. | |||
none | The media ID of the media item that you are going to log as offensive. | |||
array() | These are various fields that are completely optional. Sample values are: parameters[uid]=1927700 parameters[reason]=inappropriate parameters[templateid]=34529 parameters[to]=your.name@gmail.com For more information please refer to the "Parameters" table below. |
Parameters
The optional parameters that can be passed as an array.
Note: This value has a maximum length of 255 characters. | ||
Note: When "templateid" is set, you need to define tempate variables for the email, as displayed in the "Email Template Parameters" table below. | ||
Email Template Parameters
The variables that are available within the email template, for the email that is sent when the parameter templateid is set.
Return Values
Field | Description | Possible Values |
---|