Closed valkiriy closed 5 years ago
Hey, It isn't possible at this time. I'll add the functionality in an upcoming release.
You are welcome to help out and create a PR.
This will soon be available as of https://github.com/NicklasWallgren/instagram-api/tree/feature/inbox-confirm-and-get-unseen
$unseen = $message->getInbox()->getUnseen();
foreach ($unseen as $threadId => $unseenItemsInThread) {
/**
* @var ThreadItem $threadItem
*/
$threadItem = current($unseenItemsInThread);
$threadItem->seen();
}
Thanks!
The feature has been merged into master.
hi. how i get pending inbox and confirm then? and How to mark the thread read?