Hi
In the README (btw it looks like obsolete in some points) I saw that you can use as attachment not only stdClass but also Drupal Files.
I think it's very convenient, but it's not supported now.
Needs work
2.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.