case 59: //创建聊天室 $options['name'] = "chatroom001"; $options['description'] = "this is a love chatroom"; $options['maxusers'] = 300; $options['owner'] = "zhangsan"; $options['members'] = array("man", "lisi"); var_dump($h->createChatRoom($options)); break; case 60: //修改聊天室信息 $chatroom_id = "124121390293975664"; $options['name'] = "chatroom002"; $options['description'] = "修改聊天室描述"; $options['maxusers'] = 300; var_dump($h->modifyChatRoom($chatroom_id, $options)); break; case 61: //删除聊天室 $chatroom_id = "124121390293975664"; var_dump($h->deleteChatRoom($chatroom_id)); break; case 62: //获取app中所有的聊天室 var_dump($h->getChatRooms()); break; case 63: //获取一个聊天室的详情 $chatroom_id = "124121939693277716"; var_dump($h->getChatRoomDetail($chatroom_id)); break;