ifPublicChat

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