🎨 入群欢迎语素材管理缺失两字段

This commit is contained in:
liucb 2022-06-28 03:46:24 +00:00 committed by binarywang
parent 1b6275afb3
commit 9f69e69090

View File

@ -1,5 +1,6 @@
package me.chanjar.weixin.cp.bean.external;
import com.google.gson.annotations.SerializedName;
import lombok.*;
import me.chanjar.weixin.cp.bean.WxCpBaseResp;
import me.chanjar.weixin.cp.bean.external.msg.*;
@ -33,6 +34,18 @@ public class WxCpGroupWelcomeTemplateResult extends WxCpBaseResp implements Seri
private Video video;
/**
* 欢迎语素材id
* https://developer.work.weixin.qq.com/document/path/92366
*/
@SerializedName("template_id")
private String templateId;
/**
* 是否通知成员将这条入群欢迎语应用到客户群中0-不通知1-通知 不填则通知
*/
private Integer notify;
public static WxCpGroupWelcomeTemplateResult fromJson(String json) {
return WxCpGsonBuilder.create().fromJson(json, WxCpGroupWelcomeTemplateResult.class);
}