ifUnknownMessageType

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