whenPrivateChat

inline fun <T> Chat.whenPrivateChat(block: (PrivateChat) -> T): T?