package
1.2.1
Repository: https://github.com/bububa/wechat.git
Documentation: pkg.go.dev

# Functions

从行业模板库选择模板添加到账号后台, 并返回模板id.
删除模板.
获取模板列表.
获取设置的行业信息.
No description provided by the author
发送模板消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构, 一般为 *TemplateMessage 类型.
设置所属行业.

# Constants

No description provided by the author
送达由于其他原因失败.
送达由于用户拒收(用户设置拒绝接收公众号消息)而失败.
送达成功时.

# Structs

模版内某个 .DATA 的值.
No description provided by the author
No description provided by the author
模板数据结构 { "template_id": "iPk5sOIt5X_flOVKn5GrTFpncEYTojx6ddbt8WYoV5s", "title": "领取奖金提醒", "primary_industry": "IT科技", "deputy_industry": "互联网|电子商务", "content": "{ {result.DATA} }\n\n领奖金额:{ {withdrawMoney.DATA} }\n领奖 时间:{ {withdrawTime.DATA} }\n银行信息:{ {cardInfo.DATA} }\n到账时间: { {arrivedTime.DATA} }\n{ {remark.DATA} }", "example": "您已提交领奖申请\n\n领奖金额:xxxx元\n领奖时间:2013-10-10 12:22:22\n银行信息:xx银行(尾号xxxx)\n到账时间:预计xxxxxxx\n\n预计将于xxxx到达您的银行卡" }.
No description provided by the author
No description provided by the author
No description provided by the author