Skip to content

Function: deleteComments() ​

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

Deletes several comments of a media in one request.

Parameters ​

ParameterType
clientPrivateClient
mediaIdstring
commentIdsreadonly string[]

Returns ​

Promise<void>

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