dev --- 3.8.0.A版本, openProject引用 ;
formao-live --- 3.7.0.B 版本, formallProject引用
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package chanjarster.weixin.bean;
-
- import chanjarster.weixin.api.WxConsts;
- import chanjarster.weixin.util.json.WxGsonBuilder;
-
- /**
- * 分组群发的消息
- *
- * @author chanjarster
- */
- public class WxMassGroupMessage {
-
- private long group_id;
- private String msgtype;
- private String content;
- private String media_id;
-
- public WxMassGroupMessage() {
- super();
- }
-
- public String getMsgtype() {
- return msgtype;
- }
-
- /**
- * <pre>
- * 请使用
- * {@link WxConsts#MASS_MSG_IMAGE}
- * {@link WxConsts#MASS_MSG_NEWS}
- * {@link WxConsts#MASS_MSG_TEXT}
- * {@link WxConsts#MASS_MSG_VIDEO}
- * {@link WxConsts#MASS_MSG_VOICE}
- * 如果msgtype和media_id不匹配的话,会返回系统繁忙的错误
- * </pre>
- * @param msgtype
- */
- public void setMsgtype(String msgtype) {
- this.msgtype = msgtype;
- }
-
- public String getContent() {
- return content;
- }
-
- public void setContent(String content) {
- this.content = content;
- }
-
- public String getMedia_id() {
- return media_id;
- }
-
- public void setMedia_id(String media_id) {
- this.media_id = media_id;
- }
-
- public String toJson() {
- return WxGsonBuilder.INSTANCE.create().toJson(this);
- }
-
- public long getGroup_id() {
- return group_id;
- }
-
- public void setGroup_id(long group_id) {
- this.group_id = group_id;
- }
-
- }
|