whenExtendedChat

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