File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ wecombot 是[企业微信群机器人](https://developer.work.weixin.qq.com/docu
7
7
8
8
## 安装
9
9
``` sehll
10
- $ go get -u -v github.com/voidint/wecombot@latest
10
+ $ go get github.com/voidint/wecombot@latest
11
11
```
12
12
13
13
@@ -157,7 +157,7 @@ func main() {
157
157
msg.TemplateCard .MainTitle .Desc = takePointer (" 您的好友正在邀请您加入企业微信" )
158
158
msg.TemplateCard .CardAction .Type = 1
159
159
msg.TemplateCard .CardAction .URL = takePointer (" https://work.weixin.qq.com/?from=openApi" )
160
- // 参数较多,详见文档。
160
+ // 参数较多,详见文档。
161
161
162
162
wecombot.NewBot (" YOUR_KEY" ).SendTextNoticeTemplateCardMessage (&msg)
163
163
}
Original file line number Diff line number Diff line change @@ -132,9 +132,9 @@ type Jump struct {
132
132
type CardAction struct {
133
133
// Type 卡片跳转类型,1 代表跳转url,2 代表打开小程序。
134
134
Type uint8 `json:"type"`
135
- // URL 跳转事件的url,card_action. type是1时必填。
135
+ // URL 跳转事件的url,type是1时必填。
136
136
URL * string `json:"url"`
137
- // AppID 跳转事件的小程序的appid,card_action. type是2时必填。
137
+ // AppID 跳转事件的小程序的appid,type是2时必填。
138
138
AppID * string `json:"appid"`
139
139
// PagePath 跳转事件的小程序的pagepath,type是2时选填。
140
140
PagePath * string `json:"pagepath"`
You can’t perform that action at this time.
0 commit comments