"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getRoomMembers = void 0;
var _client = require("@xmpp/client");
const getRoomMembers = (roomJID, client) => {
  const message = (0, _client.xml)('iq', {
    id: 'roomMemberInfo',
    type: 'get'
  }, (0, _client.xml)('query', {
    xmlns: 'ns:room:last',
    room: roomJID
  }));
  client.send(message);
};
exports.getRoomMembers = getRoomMembers;
//# sourceMappingURL=getRoomMembers.xmpp.js.map