ifCommonEvent

inline fun <T> ChatEvent.ifCommonEvent(block: (CommonEvent) -> T): T?