File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ type Location struct {
7070
7171// Link 链接消息
7272type Link struct {
73+ BaseMessage
7374 MsgType string `json:"msgtype"` // 消息类型,此时固定为:link
7475 Link struct {
7576 Title string `json:"title"` // 标题
@@ -81,6 +82,7 @@ type Link struct {
8182
8283// BusinessCard 名片消息
8384type BusinessCard struct {
85+ BaseMessage
8486 MsgType string `json:"msgtype"` // 消息类型,此时固定为:business_card
8587 BusinessCard struct {
8688 UserID string `json:"userid"` // 名片 userid
@@ -89,6 +91,7 @@ type BusinessCard struct {
8991
9092// MiniProgram 小程序消息
9193type MiniProgram struct {
94+ BaseMessage
9295 MsgType string `json:"msgtype"` // 消息类型,此时固定为:miniprogram
9396 MiniProgram struct {
9497 AppID string `json:"appid"` // 小程序appid,必须是关联到企业的小程序应用
You can’t perform that action at this time.
0 commit comments