Skip to content

Function: archiveMedia() ​

ts
function archiveMedia(client, mediaId): Promise<void>;

Archives a post: it leaves the profile and moves to the archive.

Parameters ​

ParameterType
clientPrivateClient
mediaIdstring

Returns ​

Promise<void>

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