1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-07 06:02:26 +08:00

企业微信内部开发API:消息推送》接收消息与事件》事件格式》模板卡片事件推送

This commit is contained in:
hb
2022-03-24 12:02:41 +08:00
parent 96e7945d20
commit 586a3b058e

View File

@@ -71,7 +71,7 @@ type resTemplateSend struct {
}
//Send 发送应用消息
func (tpl *App) Send(msg *AppMessage) (msgID string, err error) {
func (tpl *App) Send(msg *AppMessage) (msgID string, responseCode string, err error) {
var accessToken string
accessToken, err = tpl.GetAccessToken()
if err != nil {
@@ -96,6 +96,7 @@ func (tpl *App) Send(msg *AppMessage) (msgID string, err error) {
return
}
msgID = result.MsgID
responseCode = result.ResponseCode
return
}