getAttachmentFromEvent
Description
Retrieves an attachment structure from the event. Useful when treating attachment events.
Return Type
Example
logPrint("INFO", "Result of listener: " + getAttachmentFromEvent());
Returns the JAttachment object, if any in the event.
See also
Peacock