whenGroupChat

inline fun <T> Chat.whenGroupChat(block: (GroupChat) -> T): T?