def deleteOTPK(self, otpk_pub):
        """
        Delete a one-time pre key, either publicly visible or hidden.

        :param otpk_pub: The public key of the one-time pre key to delete, encoded as a
            bytes-like object.
        """

        self.__checkSPKTimestamp()

        for otpk in self.__otpks:
            if otpk.pub == otpk_pub:
                self.__otpks.remove(otpk)

        for otpk in self.__hidden_otpks:
            if otpk.pub == otpk_pub:
                self.__hidden_otpks.remove(otpk)

        self.__refillOTPKs()
Delete a one-time pre key, either publicly visible or hidden.

        :param otpk_pub: The public key of the one-time pre key to delete, encoded as a
            bytes-like object.