whenPublicChat

inline fun <T> Chat.whenPublicChat(block: (PublicChat) -> T): T?