
com.jeecg.dingtalk.api.message.vo.TextMessage 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.dingtalk.api.message.vo;
import com.alibaba.fastjson.JSONObject;
import com.jeecg.dingtalk.api.core.util.MessageType;
/**
* 钉钉文本消息
*
* @author sunjianlei
*/
public class TextMessage extends SuperMessage {
private JSONObject text = new JSONObject();
/**
* 钉钉文本消息
*
* @param content 消息内容
*/
public TextMessage(String content) {
super(MessageType.TEXT);
this.text.put("content", content);
}
public JSONObject getText() {
return this.text;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy