ifPreviewChat

inline fun <T> Chat.ifPreviewChat(block: (PreviewChat) -> T): T?