diff --git a/qyweixin/app_customer.go b/qyweixin/app_customer.go index cf642c9..a253d5e 100644 --- a/qyweixin/app_customer.go +++ b/qyweixin/app_customer.go @@ -48,6 +48,8 @@ type CustomerMessage struct { Text *CustomerText Event *CustomerEvent Image *CustomerImage + Video *CustomerVideo + Voice *CustomerVoice } type CustomerServicer struct { @@ -68,6 +70,13 @@ type CustomerText struct { type CustomerImage struct { MediaId string } +type CustomerVideo struct { + MediaId string +} + +type CustomerVoice struct { + MediaId string +} type CustomerEvent struct { EventType string `json:"event_type"`