Skip to content

Commit 9f69e69

Browse files
schama520binarywang
authored andcommitted
🎨 入群欢迎语素材管理缺失两字段
1 parent 1b6275a commit 9f69e69

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/external/WxCpGroupWelcomeTemplateResult.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package me.chanjar.weixin.cp.bean.external;
22

3+
import com.google.gson.annotations.SerializedName;
34
import lombok.*;
45
import me.chanjar.weixin.cp.bean.WxCpBaseResp;
56
import me.chanjar.weixin.cp.bean.external.msg.*;
@@ -33,6 +34,18 @@ public class WxCpGroupWelcomeTemplateResult extends WxCpBaseResp implements Seri
3334

3435
private Video video;
3536

37+
/**
38+
* 欢迎语素材id
39+
* https://developer.work.weixin.qq.com/document/path/92366
40+
*/
41+
@SerializedName("template_id")
42+
private String templateId;
43+
44+
/**
45+
* 是否通知成员将这条入群欢迎语应用到客户群中,0-不通知,1-通知, 不填则通知
46+
*/
47+
private Integer notify;
48+
3649
public static WxCpGroupWelcomeTemplateResult fromJson(String json) {
3750
return WxCpGsonBuilder.create().fromJson(json, WxCpGroupWelcomeTemplateResult.class);
3851
}

0 commit comments

Comments
 (0)