"use strict";

import { xml } from '@xmpp/client';
export function deleteMessage(client, room, msgId) {
  const stanza = xml('message', {
    from: client.jid?.toString(),
    to: room,
    id: 'deleteMessageStanza',
    type: 'groupchat'
  }, xml('body', 'wow'), xml('delete', {
    id: msgId
  }));
  client.send(stanza);
}
//# sourceMappingURL=deleteMessage.xmpp.js.map