Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package me.chanjar.weixin.cp.bean.kf.msg;

import com.google.gson.annotations.SerializedName;

import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
Expand Down Expand Up @@ -64,6 +65,10 @@ public static class WxCpKfMenuItem {
*/
@SerializedName("miniprogram")
private MiniProgram miniProgram;
/**
* type为text的菜单项
*/
private MenuText text;
}

/**
Expand Down Expand Up @@ -139,4 +144,21 @@ public static class MiniProgram {
*/
private String content;
}

/**
*
* The type Menu text.
*
*/
@Getter
@Setter
public static class MenuText {
/**
* <pre>
* 是否必须:是
* 说明:文本内容,支持\n(\和n两个字符)换行。不少于1字节 不多于256字节
* </pre>
*/
private String content;
}
}