No API to fetch files uploaded via issue comments?

Hello GitHub Support Community,

I recently found that at present we cannot retrieve files that are uploaded via issue/PR comments by the API if the repo is private.
Did you have a plan to implement this feature in future? Given that the current API can fetch the files under the trees, even if it’s a private repo, I don’t think there’s a technical difficulty on it.
If you don’t have such plan, could you please tell me why?