
com.jeecg.qywx.api.message.vo.News Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weixin4j Show documentation
Show all versions of weixin4j Show documentation
微信和钉钉开发SDK,主要提供微信、企业微信、钉钉的JAVA封装,降低集成难度,让API变简单
The newest version!
package com.jeecg.qywx.api.message.vo;
public class News {
private String touser;//成员ID列表(消息接收者,多个接收者用‘|’分隔,最多支持1000个)。特殊情况:指定为@all,则向关注该企业应用的全部成员发送
private String toparty;//部门ID列表,多个接收者用‘|’分隔,最多支持100个。当touser为@all时忽略本参
private String totag;// 标签ID列表,多个接收者用‘|’分隔。当touser为@all时忽略本参数
private String msgtype;//消息类型,此时固定为:voice (不支持主页型应用)
private int agentid;//企业应用的id,整型。可在应用的设置页面查看
private NewsEntity news;//信息实体
public String getTouser() {
return touser;
}
public void setTouser(String touser) {
this.touser = touser;
}
public String getToparty() {
return toparty;
}
public void setToparty(String toparty) {
this.toparty = toparty;
}
public String getTotag() {
return totag;
}
public void setTotag(String totag) {
this.totag = totag;
}
public String getMsgtype() {
return msgtype;
}
public void setMsgtype(String msgtype) {
this.msgtype = msgtype;
}
public int getAgentid() {
return agentid;
}
public void setAgentid(int agentid) {
this.agentid = agentid;
}
public NewsEntity getNews() {
return news;
}
public void setNews(NewsEntity news) {
this.news = news;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy