Skip to content

Function: deleteMessage() ​

ts
function deleteMessage(
   client, 
   threadId, 
   itemId
): Promise<void>;

Deletes one of the account's messages from a thread (unsends it).

Parameters ​

ParameterType
clientPrivateClient
threadIdstring
itemIdstring

Returns ​

Promise<void>

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