command / me.schlaubi.regnumutils.common.cache / MessageCache / remove

remove

abstract fun remove(key: Long): Message?

Removes a message by it's id from the cache.

open fun remove(message: Message): Message?

Removes the message from the cache.