Skip to content

Function: unsaveMedia() ​

ts
function unsaveMedia(
   client, 
   mediaId, 
   options?
): Promise<void>;

Removes a media from the account's saved posts, or from one of its collections.

Parameters ​

ParameterType
clientPrivateClient
mediaIdstring
options?SaveOptions

Returns ​

Promise<void>

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.