1 Star 0 Fork 0

LingJhua/wecaht

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
text.go 239 Bytes
一键复制 编辑 原始数据 按行查看 历史
LingJhua 提交于 2025-05-21 16:01 +08:00 . init
package message
// Text 文本消息
type Text struct {
CommonToken
Content CDATA `xml:"Content"`
}
// NewText 初始化文本消息
func NewText(content string) *Text {
text := new(Text)
text.Content = CDATA(content)
return text
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/huawlhp/wecaht.git
git@gitee.com:huawlhp/wecaht.git
huawlhp
wecaht
wecaht
v1.0.0

搜索帮助