ifPrivateEvent

inline fun <T> ChatEvent.ifPrivateEvent(block: (PrivateEvent) -> T): T?