The response from media/upload gives a media ID, which can be attached to a status update, but when composing a direct message, the only option is to include text. It doesn’t give a media URL, and the media ID itself expires after an hour unless incorporated in a tweet, so I’m presuming being incorporated more manually in a direct message doesn’t count.
I’m wondering if there’s a way to include an image in a direct message? On the page regarding sending direct messages, it’s mentioned that users can be whitelisted for a related API - to find out if you’re able to send a user a direct message. I applied for this a few days ago but didn’t yet receive a response. I’m wondering if a similar API exists that I could be granted access to, that would allow me to add photos to a direct message?