public class WxMpMassGroupMessage extends Object implements Serializable
| 构造器和说明 |
|---|
WxMpMassGroupMessage() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getContent() |
Long |
getGroupId() |
String |
getMediaId() |
String |
getMsgtype() |
void |
setContent(String content) |
void |
setGroupId(Long groupId)
如果不设置则就意味着发给所有用户
|
void |
setMediaId(String mediaId) |
void |
setMsgtype(String msgtype)
请使用
WxConsts.MASS_MSG_IMAGE
WxConsts.MASS_MSG_NEWS
WxConsts.MASS_MSG_TEXT
WxConsts.MASS_MSG_VIDEO
WxConsts.MASS_MSG_VOICE
如果msgtype和media_id不匹配的话,会返回系统繁忙的错误
|
String |
toJson() |
public String getMsgtype()
public void setMsgtype(String msgtype)
请使用WxConsts.MASS_MSG_IMAGEWxConsts.MASS_MSG_NEWSWxConsts.MASS_MSG_TEXTWxConsts.MASS_MSG_VIDEOWxConsts.MASS_MSG_VOICE如果msgtype和media_id不匹配的话,会返回系统繁忙的错误
msgtype - public String getContent()
public void setContent(String content)
public String getMediaId()
public void setMediaId(String mediaId)
public String toJson()
public Long getGroupId()
public void setGroupId(Long groupId)
groupId - Copyright © 2016. All rights reserved.