"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GroupKeyRequest = void 0;
const StreamMessage_1 = require("./StreamMessage");
class GroupKeyRequest {
    requestId;
    recipient;
    rsaPublicKey;
    groupKeyIds;
    constructor({ requestId, recipient, rsaPublicKey, groupKeyIds }) {
        this.requestId = requestId;
        this.recipient = recipient;
        this.rsaPublicKey = rsaPublicKey;
        this.groupKeyIds = groupKeyIds;
    }
    static is(streamMessage) {
        return streamMessage.messageType === StreamMessage_1.StreamMessageType.GROUP_KEY_REQUEST;
    }
}
exports.GroupKeyRequest = GroupKeyRequest;
//# sourceMappingURL=GroupKeyRequest.js.map