me.chanjar.weixin.mp.bean.kefu

## 类 WxMpKefuMessage

- java.lang.Object
- - me.chanjar.weixin.mp.bean.kefu.WxMpKefuMessage

所有已实现的接口:
  Serializable

    public class WxMpKefuMessage
    extends Object
    implements Serializable

客服消息

作者:
  chanjarster
另请参阅:
  序列化表格

### 嵌套类概要

嵌套类
`static class` `WxMpKefuMessage.WxArticle`

### 构造器概要

构造器
构造器和说明
`WxMpKefuMessage()`

### 方法概要

方法
`List<WxMpKefuMessage.WxArticle>` `getArticles()`
`String` `getCardId()`
`String` `getContent()`
`String` `getDescription()`
`String` `getHqMusicUrl()`
`String` `getKfAccount()`
`String` `getMediaId()`
`String` `getMpNewsMediaId()`
`String` `getMsgType()`
`String` `getMusicUrl()`
`String` `getThumbMediaId()`
`String` `getTitle()`
`String` `getToUser()`
`static ImageBuilder` `IMAGE()` 获得图片消息builder
`static MpNewsBuilder` `MPNEWS()` 获得图文消息（点击跳转到图文消息页面）builder
`static MusicBuilder` `MUSIC()` 获得音乐消息builder
`static NewsBuilder` `NEWS()` 获得图文消息（点击跳转到外链）builder
`void` `setArticles(List<WxMpKefuMessage.WxArticle> articles)`
`void` `setCardId(String cardId)`
`void` `setContent(String content)`
`void` `setDescription(String description)`
`void` `setHqMusicUrl(String hqMusicUrl)`
`void` `setKfAccount(String kfAccount)`
`void` `setMediaId(String mediaId)`
`void` `setMpNewsMediaId(String mpNewsMediaId)`
`void` `setMsgType(String msgType)` 请使用 `WxConsts.CUSTOM_MSG_TEXT` `WxConsts.CUSTOM_MSG_IMAGE` `WxConsts.CUSTOM_MSG_VOICE` `WxConsts.CUSTOM_MSG_MUSIC` `WxConsts.CUSTOM_MSG_VIDEO` `WxConsts.CUSTOM_MSG_NEWS` `WxConsts.CUSTOM_MSG_MPNEWS` `WxConsts.CUSTOM_MSG_WXCARD`
`void` `setMusicUrl(String musicUrl)`
`void` `setThumbMediaId(String thumbMediaId)`
`void` `setTitle(String title)`
`void` `setToUser(String toUser)`
`static TextBuilder` `TEXT()` 获得文本消息builder
`String` `toJson()`
`static VideoBuilder` `VIDEO()` 获得视频消息builder
`static VoiceBuilder` `VOICE()` 获得语音消息builder
`static WxCardBuilder` `WXCARD()` 获得卡券消息builder

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 构造器详细资料

#### WxMpKefuMessage

    public WxMpKefuMessage()

### 方法详细资料

#### TEXT

    public static TextBuilder TEXT()

获得文本消息builder

#### IMAGE

    public static ImageBuilder IMAGE()

获得图片消息builder

#### VOICE

    public static VoiceBuilder VOICE()

获得语音消息builder

#### VIDEO

    public static VideoBuilder VIDEO()

获得视频消息builder

#### MUSIC

    public static MusicBuilder MUSIC()

获得音乐消息builder

#### NEWS

    public static NewsBuilder NEWS()

获得图文消息（点击跳转到外链）builder

#### MPNEWS

    public static MpNewsBuilder MPNEWS()

获得图文消息（点击跳转到图文消息页面）builder

#### WXCARD

    public static WxCardBuilder WXCARD()

获得卡券消息builder

#### getToUser

    public String getToUser()

#### setToUser

    public void setToUser(String toUser)

#### getMsgType

    public String getMsgType()

#### getMpNewsMediaId

    public String getMpNewsMediaId()

#### setMpNewsMediaId

    public void setMpNewsMediaId(String mpNewsMediaId)

#### setMsgType

    public void setMsgType(String msgType)

     请使用
     WxConsts.CUSTOM_MSG_TEXT
     WxConsts.CUSTOM_MSG_IMAGE
     WxConsts.CUSTOM_MSG_VOICE
     WxConsts.CUSTOM_MSG_MUSIC
     WxConsts.CUSTOM_MSG_VIDEO
     WxConsts.CUSTOM_MSG_NEWS
     WxConsts.CUSTOM_MSG_MPNEWS
     WxConsts.CUSTOM_MSG_WXCARD

参数:
  `msgType` -

#### getContent

    public String getContent()

#### setContent

    public void setContent(String content)

#### getMediaId

    public String getMediaId()

#### setMediaId

    public void setMediaId(String mediaId)

#### getThumbMediaId

    public String getThumbMediaId()

#### setThumbMediaId

    public void setThumbMediaId(String thumbMediaId)

#### getTitle

    public String getTitle()

#### setTitle

    public void setTitle(String title)

#### getDescription

    public String getDescription()

#### setDescription

    public void setDescription(String description)

#### getMusicUrl

    public String getMusicUrl()

#### setMusicUrl

    public void setMusicUrl(String musicUrl)

#### getHqMusicUrl

    public String getHqMusicUrl()

#### setHqMusicUrl

    public void setHqMusicUrl(String hqMusicUrl)

#### getCardId

    public String getCardId()

#### setCardId

    public void setCardId(String cardId)

#### getArticles

    public List<WxMpKefuMessage.WxArticle> getArticles()

#### setArticles

    public void setArticles(List<WxMpKefuMessage.WxArticle> articles)

#### toJson

    public String toJson()

#### getKfAccount

    public String getKfAccount()

#### setKfAccount

    public void setKfAccount(String kfAccount)