Initial commit
This commit is contained in:
71
sources/com/tencent/mm/opensdk/modelbiz/JoinChatroom.java
Normal file
71
sources/com/tencent/mm/opensdk/modelbiz/JoinChatroom.java
Normal file
@@ -0,0 +1,71 @@
|
||||
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() {
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user