jimu-decompiled/sources/com/tencent/mm/opensdk/modelbiz/CreateChatroom.java
2025-05-13 19:24:51 +02:00

74 lines
2.2 KiB
Java

package com.tencent.mm.opensdk.modelbiz;
import android.os.Bundle;
import com.tencent.mm.opensdk.modelbase.BaseReq;
import com.tencent.mm.opensdk.modelbase.BaseResp;
import com.tencent.mm.opensdk.utils.d;
/* loaded from: classes.dex */
public class CreateChatroom {
public static class Req extends BaseReq {
public String chatroomName;
public String chatroomNickName;
public String extMsg;
public String groupId = "";
@Override // com.tencent.mm.opensdk.modelbase.BaseReq
public boolean checkArgs() {
return !d.h(this.groupId);
}
@Override // com.tencent.mm.opensdk.modelbase.BaseReq
public int getType() {
return 14;
}
@Override // com.tencent.mm.opensdk.modelbase.BaseReq
public void toBundle(Bundle bundle) {
super.toBundle(bundle);
bundle.putString("_wxapi_create_chatroom_group_id", this.groupId);
bundle.putString("_wxapi_create_chatroom_chatroom_name", this.chatroomName);
bundle.putString("_wxapi_create_chatroom_chatroom_nickname", this.chatroomNickName);
bundle.putString("_wxapi_create_chatroom_ext_msg", this.extMsg);
bundle.putString("_wxapi_basereq_openid", this.openId);
}
}
public static class Resp extends BaseResp {
public String extMsg;
public Resp() {
}
public Resp(Bundle bundle) {
fromBundle(bundle);
}
@Override // com.tencent.mm.opensdk.modelbase.BaseResp
public boolean checkArgs() {
return true;
}
@Override // com.tencent.mm.opensdk.modelbase.BaseResp
public void fromBundle(Bundle bundle) {
super.fromBundle(bundle);
this.extMsg = bundle.getString("_wxapi_create_chatroom_ext_msg");
}
@Override // com.tencent.mm.opensdk.modelbase.BaseResp
public int getType() {
return 14;
}
@Override // com.tencent.mm.opensdk.modelbase.BaseResp
public void toBundle(Bundle bundle) {
super.toBundle(bundle);
bundle.putString("_wxapi_create_chatroom_ext_msg", this.extMsg);
}
}
private CreateChatroom() {
}
}