Unsend an Instagram DM
Input
threadId requiredThe conversation's id, as returned by the inbox listing.
text optionalText of the message to take back, matched against messages you sent. Omit to take back the most recent message you sent in the conversation.
Output
unsent requiredTrue when a message was actually removed.
threadId requiredaccount_used requiredHandle of the account whose message was taken back, read from the page rather than assumed.
already_absent requiredTrue when no message of yours matched, so nothing was touched.
verified_on_page requiredTrue when the conversation was re-read from Instagram afterwards and the message was genuinely gone.
messageId optionalInstagram's own id for the removed message, as the conversation reports it. Note this is a different identifier from the one returned when a message is sent — the two are not interchangeable.
messageText optionalText of the message that was removed.
remainingCount optionalHow many messages the conversation holds after the removal, as Instagram reports it.
