Loading...
When using these methods, you will likely be working with a special class called Attachment. This class is documented in the User API. A few of the available methods are documented here:
Create a new Attachment
id | The unique ID of the attachment. |
---|---|
content | The content (String or byte array) to store for the attachment. |
charset | If the content passed in is a string, this is the charset encoding to convert the string to bytes with. If the content is a String and a charset is not used, UTF-8 will be used as the charset. |
type | The MIME type of the attachment. |
Retrieve Attachment Content