:param delete_func:
            a function that deletes messages, such as :meth:`.Bot.deleteMessage`

        :return:
            a function that wraps around ``delete_func`` and stops capturing
            callback query originating from that deleted message.

def augment_delete(self, delete_func):
        """
        :param delete_func:
            a function that deletes messages, such as :meth:`.Bot.deleteMessage`

        :return:
            a function that wraps around ``delete_func`` and stops capturing
            callback query originating from that deleted message.
        """
        def augmented(msg_identifier, *aa, **kw):
            deleted = delete_func(msg_identifier, *aa, **kw)

            if deleted is True:
                self.uncapture_origin(msg_identifier)

            return deleted
        return augmented