Skip to main content

sow-delete-data

Import the Client and Command:

import { Client, Command } from 'amps';

Deleting the message that matches the message provided:

const delCmd = new Command('sow_delete').topic(topic).data(msgData);

The command can now be used in execute.