4:25 AM PST
This issue has now been resolved. The API method files.upload is now uploading files to thread as expected. We're very sorry for any inconvenience caused.
3:57 AM PST
files.upload creates a new message instead of uploading files in a thread.
3:31 AM PST