mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 10:38:42 +08:00 
			
		
		
		
	🎨 入群欢迎语素材管理缺失两字段
This commit is contained in:
		| @ -1,5 +1,6 @@ | |||||||
| package me.chanjar.weixin.cp.bean.external; | package me.chanjar.weixin.cp.bean.external; | ||||||
|  |  | ||||||
|  | import com.google.gson.annotations.SerializedName; | ||||||
| import lombok.*; | import lombok.*; | ||||||
| import me.chanjar.weixin.cp.bean.WxCpBaseResp; | import me.chanjar.weixin.cp.bean.WxCpBaseResp; | ||||||
| import me.chanjar.weixin.cp.bean.external.msg.*; | import me.chanjar.weixin.cp.bean.external.msg.*; | ||||||
| @ -33,6 +34,18 @@ public class WxCpGroupWelcomeTemplateResult extends WxCpBaseResp implements Seri | |||||||
|  |  | ||||||
|   private Video video; |   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) { |   public static WxCpGroupWelcomeTemplateResult fromJson(String json) { | ||||||
|     return WxCpGsonBuilder.create().fromJson(json, WxCpGroupWelcomeTemplateResult.class); |     return WxCpGsonBuilder.create().fromJson(json, WxCpGroupWelcomeTemplateResult.class); | ||||||
|   } |   } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 liucb
					liucb