File tree 1 file changed +22
-0
lines changed
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/kf/msg 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1
1
package me .chanjar .weixin .cp .bean .kf .msg ;
2
2
3
3
import com .google .gson .annotations .SerializedName ;
4
+
4
5
import lombok .Data ;
5
6
import lombok .Getter ;
6
7
import lombok .NoArgsConstructor ;
@@ -64,6 +65,10 @@ public static class WxCpKfMenuItem {
64
65
*/
65
66
@ SerializedName ("miniprogram" )
66
67
private MiniProgram miniProgram ;
68
+ /**
69
+ * type为text的菜单项
70
+ */
71
+ private MenuText text ;
67
72
}
68
73
69
74
/**
@@ -139,4 +144,21 @@ public static class MiniProgram {
139
144
*/
140
145
private String content ;
141
146
}
147
+
148
+ /**
149
+ *
150
+ * The type Menu text.
151
+ *
152
+ */
153
+ @ Getter
154
+ @ Setter
155
+ public static class MenuText {
156
+ /**
157
+ * <pre>
158
+ * 是否必须:是
159
+ * 说明:文本内容,支持\n(\和n两个字符)换行。不少于1字节 不多于256字节
160
+ * </pre>
161
+ */
162
+ private String content ;
163
+ }
142
164
}
You can’t perform that action at this time.
0 commit comments