
com.jeecg.qywx.api.message.vo.Markdown 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;
/**
* Markdown消息
*
* @author sunjianlei
*/
public class Markdown {
public Markdown() {
this.msgtype = "markdown";
}
/**
* 成员ID列表(消息接收者,多个接收者用‘|’分隔,最多支持1000个)。特殊情况:指定为@all,则向关注该企业应用的全部成员发送
*/
private String touser;
/**
* 部门ID列表,多个接收者用‘|’分隔,最多支持100个。当touser为@all时忽略本参数
*/
private String toparty;
/**
* 标签ID列表,多个接收者用‘|’分隔。当touser为@all时忽略本参数
*/
private String totag;
/**
* 消息类型,此时固定为:text (支持消息型应用跟主页型应用)
*/
private String msgtype;
/**
* 企业应用的id,整型。可在应用的设置页面查看
*/
private int agentid;
/**
* 消息内容实体
*/
private MarkdownEntity markdown;
/**
* 表示是否是保密消息,0表示否,1表示是,默认0
*/
private String safe;
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 MarkdownEntity getMarkdown() {
return markdown;
}
public void setMarkdown(MarkdownEntity markdown) {
this.markdown = markdown;
}
public String getSafe() {
return safe;
}
public void setSafe(String safe) {
this.safe = safe;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy