Skip to content

Function: pinComment() ​

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

Pins a comment to the top of one of the account's own posts.

Parameters ​

ParameterType
clientPrivateClient
mediaIdstring
commentIdstring

Returns ​

Promise<void>

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