Skip to content

Function: saveMedia() ​

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

Saves a media to the account's saved posts, or to 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.