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

72 lines
2.1 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 JoinChatroom {
public static class Req extends BaseReq {
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 15;
}
@Override // com.tencent.mm.opensdk.modelbase.BaseReq
public void toBundle(Bundle bundle) {
super.toBundle(bundle);
bundle.putString("_wxapi_join_chatroom_group_id", this.groupId);
bundle.putString("_wxapi_join_chatroom_chatroom_nickname", this.chatroomNickName);
bundle.putString("_wxapi_join_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_join_chatroom_ext_msg");
}
@Override // com.tencent.mm.opensdk.modelbase.BaseResp
public int getType() {
return 15;
}
@Override // com.tencent.mm.opensdk.modelbase.BaseResp
public void toBundle(Bundle bundle) {
super.toBundle(bundle);
bundle.putString("_wxapi_join_chatroom_ext_msg", this.extMsg);
}
}
private JoinChatroom() {
}
}