Skip to content

Commit 9f6802b

Browse files
authored
增加微信客服发送视频消息的结构体
1 parent 31fe104 commit 9f6802b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/work/accountService/message/request/requestAccountServiceSendMsg.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ type RequestAccountServiceSendMsg struct {
88
Text *RequestAccountServiceMsgText `json:"text,omitempty"`
99
Image *RequestAccountServiceMsgImage `json:"image,omitempty"`
1010
Voice *RequestAccountServiceMsgVoice `json:"voice,omitempty"`
11+
Video *RequestAccountServiceMsgVideo `json:"video,omitempty"`
1112
File *RequestAccountServiceMsgFile `json:"file,omitempty"`
1213
Link *RequestAccountServiceMsgLink `json:"link,omitempty"`
1314
MiniProgram *RequestAccountServiceMsgMiniProgram `json:"miniprogram,omitempty"`
@@ -28,6 +29,10 @@ type RequestAccountServiceMsgVoice struct {
2829
MediaID string `json:"media_id"`
2930
}
3031

32+
type RequestAccountServiceMsgVideo struct {
33+
MediaID string `json:"media_id"`
34+
}
35+
3136
type RequestAccountServiceMsgFile struct {
3237
MediaID string `json:"media_id"`
3338
}

0 commit comments

Comments
 (0)