"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.deleteMessage = deleteMessage;
var _client = require("@xmpp/client");
function deleteMessage(client, room, msgId) {
  const stanza = (0, _client.xml)('message', {
    from: client.jid?.toString(),
    to: room,
    id: 'deleteMessageStanza',
    type: 'groupchat'
  }, (0, _client.xml)('body', 'wow'), (0, _client.xml)('delete', {
    id: msgId
  }));
  client.send(stanza);
}
//# sourceMappingURL=deleteMessage.xmpp.js.map