use RT::Attachments;
This module should never be called directly by client code. it's an internal module which should only be accessed through exported APIs in Ticket, Queue and other similar objects.
Limit result set to attachments of ContentType 'TYPE'...
Limit result set to children of Attachment ID