ifExtendedChat

inline fun <T> Chat.ifExtendedChat(block: (ExtendedChat) -> T): T?