public class WxMpKefuMessage extends Object implements Serializable
限定符和类型 | 类和说明 |
---|---|
static class |
WxMpKefuMessage.MsgMenu |
static class |
WxMpKefuMessage.WxArticle |
构造器和说明 |
---|
WxMpKefuMessage() |
public static TextBuilder TEXT()
public static ImageBuilder IMAGE()
public static VoiceBuilder VOICE()
public static VideoBuilder VIDEO()
public static MusicBuilder MUSIC()
public static NewsBuilder NEWS()
public static MpNewsBuilder MPNEWS()
public static WxCardBuilder WXCARD()
public static WxMsgMenuBuilder MSGMENU()
public static MiniProgramPageBuilder MINIPROGRAMPAGE()
public static MpNewsArticleBuilder MPNEWSARTICLE()
public void setMsgType(String msgType)
请使用WxConsts.KefuMsgType.TEXT
WxConsts.KefuMsgType.IMAGE
WxConsts.KefuMsgType.VOICE
WxConsts.KefuMsgType.MUSIC
WxConsts.KefuMsgType.VIDEO
WxConsts.KefuMsgType.NEWS
WxConsts.KefuMsgType.MPNEWS
WxConsts.KefuMsgType.WXCARD
WxConsts.KefuMsgType.MINIPROGRAMPAGE
WxConsts.KefuMsgType.TASKCARD
WxConsts.KefuMsgType.MSGMENU
WxConsts.KefuMsgType.MP_NEWS_ARTICLE
public String toJson()
Copyright © 2024. All rights reserved.