whenUnknownMessageType

inline fun <T> Message.whenUnknownMessageType(block: (UnknownMessageType) -> T): T?