progress id can be specified in options, using the "progress_id" option, this can be more handy for frontends to keep track of attachments progresses.
this plugin handles the uploading of files attached in message data.