|
@@ -83,70 +83,70 @@ public class WxCpMessage implements Serializable {
|
|
|
/**
|
|
|
* 获得文本消息builder.
|
|
|
*/
|
|
|
- public static TextBuilder TEXT() {
|
|
|
+ public static TextBuilder text() {
|
|
|
return new TextBuilder();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获得文本卡片消息builder.
|
|
|
*/
|
|
|
- public static TextCardBuilder TEXTCARD() {
|
|
|
+ public static TextCardBuilder textCard() {
|
|
|
return new TextCardBuilder();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获得图片消息builder.
|
|
|
*/
|
|
|
- public static ImageBuilder IMAGE() {
|
|
|
+ public static ImageBuilder image() {
|
|
|
return new ImageBuilder();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获得语音消息builder.
|
|
|
*/
|
|
|
- public static VoiceBuilder VOICE() {
|
|
|
+ public static VoiceBuilder voice() {
|
|
|
return new VoiceBuilder();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获得视频消息builder.
|
|
|
*/
|
|
|
- public static VideoBuilder VIDEO() {
|
|
|
+ public static VideoBuilder video() {
|
|
|
return new VideoBuilder();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获得图文消息builder.
|
|
|
*/
|
|
|
- public static NewsBuilder NEWS() {
|
|
|
+ public static NewsBuilder news() {
|
|
|
return new NewsBuilder();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获得mpnews图文消息builder.
|
|
|
*/
|
|
|
- public static MpnewsBuilder MPNEWS() {
|
|
|
+ public static MpnewsBuilder mpnews() {
|
|
|
return new MpnewsBuilder();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获得markdown消息builder.
|
|
|
*/
|
|
|
- public static MarkdownMsgBuilder MARKDOWN() {
|
|
|
+ public static MarkdownMsgBuilder markdown() {
|
|
|
return new MarkdownMsgBuilder();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获得文件消息builder.
|
|
|
*/
|
|
|
- public static FileBuilder FILE() {
|
|
|
+ public static FileBuilder file() {
|
|
|
return new FileBuilder();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获得任务卡片消息builder.
|
|
|
*/
|
|
|
- public static TaskCardBuilder TASKCARD() {
|
|
|
+ public static TaskCardBuilder taskCard() {
|
|
|
return new TaskCardBuilder();
|
|
|
}
|
|
|
|