import { Twilio } from "twilio";
type Twilio = {
accountSid: string;
token: string;
};
export async function main(twilio: Twilio, messageId: string): Promise<void> {
const client = new Twilio(twilio.accountSid, twilio.token);
await client.messages(messageId).remove();
}
Submitted by hugo697 453 days ago