resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector long = ResPQ

def set_params(self, data):
        """ resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector long = ResPQ """
        bytes_io = BytesIO(data)

        assert struct.unpack('<I', bytes_io.read(4))[0] == resPQ.constructor

        self.nonce = bytes_io.read(16)
        self.server_nonce = bytes_io.read(16)

        self.pq = deserialize_string(bytes_io)

        assert struct.unpack('<I', bytes_io.read(4))[0] == 0x1cb5c415  # long vector
        count = struct.unpack('<l', bytes_io.read(4))[0]
        for _ in range(count):
            self.server_public_key_fingerprints.append(struct.unpack('<q', bytes_io.read(8))[0])