Method | Description | |
---|---|---|
addAttachment ( ) : object | AJAX action: Add an attachment to a compose message. |
public addAttachment ( ) : object | ||
return | object | False on failure, or an object with the following properties: - action: (string) The action. - file_id: (integer) Browser ID of file. - img: (object) Image data, if 'img_data' is set. Properties: related, src - success: (integer) 1 on success (at least one successful attached file), 0 on failure. |