remove invalid message

This commit is contained in:
heavyrain.lee
2019-11-18 21:51:33 +08:00
parent 4f0545dfc1
commit bf3b30eb2c
@@ -1,27 +0,0 @@
package cn.wildfirechat.sdk;
import cn.wildfirechat.common.APIPath;
import cn.wildfirechat.pojos.*;
import cn.wildfirechat.sdk.model.IMResult;
import cn.wildfirechat.sdk.utilities.AdminHttpUtils;
public class ChannelAdmin {
public static IMResult<OutputCreateChatroom> createChannel(InputCreateChatroom input) throws Exception {
String path = APIPath.Create_Chatroom;
return AdminHttpUtils.httpJsonPost(path, input, OutputCreateChatroom.class);
}
public static IMResult<Void> destroyChannel(String chatroomId) throws Exception {
String path = APIPath.Chatroom_Destroy;
InputDestoryChatroom input = new InputDestoryChatroom();
input.setChatroomId(chatroomId);
return AdminHttpUtils.httpJsonPost(path, input, Void.class);
}
public static IMResult<OutputGetChatroomInfo> getChannelInfo(String chatroomId) throws Exception {
String path = APIPath.Chatroom_Info;
InputGetChatroomInfo input = new InputGetChatroomInfo(chatroomId);
return AdminHttpUtils.httpJsonPost(path, input, OutputGetChatroomInfo.class);
}
}