diff --git a/larksuite-oapi/src/main/java/com/lark/oapi/service/im/v1/model/ext/MessageTemplateData.java b/larksuite-oapi/src/main/java/com/lark/oapi/service/im/v1/model/ext/MessageTemplateData.java index 0a6b174f5..6e477336b 100644 --- a/larksuite-oapi/src/main/java/com/lark/oapi/service/im/v1/model/ext/MessageTemplateData.java +++ b/larksuite-oapi/src/main/java/com/lark/oapi/service/im/v1/model/ext/MessageTemplateData.java @@ -9,11 +9,15 @@ public class MessageTemplateData { @SerializedName("template_id") private String templateId; + @SerializedName("template_version_name") + private String templateVersionName; + @SerializedName("template_variable") private Map templateVariable; public MessageTemplateData(Builder builder) { this.templateId = builder.templateId; + this.templateVersionName = builder.templateVersionName; this.templateVariable = builder.templateVariable; } @@ -25,6 +29,8 @@ public static final class Builder { private String templateId; + private String templateVersionName; + private Map templateVariable; public Builder templateId(String templateId) { @@ -32,6 +38,11 @@ public Builder templateId(String templateId) { return this; } + public Builder templateVersionName(String templateVersionName) { + this.templateVersionName = templateVersionName; + return this; + } + public Builder templateVariable(Map templateVariable) { this.templateVariable = templateVariable; return this;