Skip to content

Function: pinMedia() ​

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

Pins a post to the top of the profile grid.

Parameters ​

ParameterType
clientPrivateClient
mediaIdstring

Returns ​

Promise<void>

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