2025-04-28 17:13:36 +08:00

27 lines
845 B
Go

package wechat
import "encoding/xml"
// VoiceMessage
// @description: 语音消息
type VoiceMessage struct {
XMLName xml.Name `xml:"msg"`
Text string `xml:",chardata"`
VoiceMsg struct {
Text string `xml:",chardata"`
Endflag string `xml:"endflag,attr"`
Cancelflag string `xml:"cancelflag,attr"`
Forwardflag string `xml:"forwardflag,attr"`
Voiceformat string `xml:"voiceformat,attr"`
Voicelength string `xml:"voicelength,attr"`
Length string `xml:"length,attr"`
Bufid string `xml:"bufid,attr"`
Aeskey string `xml:"aeskey,attr"`
VoiceUrl string `xml:"voiceurl,attr"`
Voicemd5 string `xml:"voicemd5,attr"`
Clientmsgid string `xml:"clientmsgid,attr"`
Fromusername string `xml:"fromusername,attr"`
} `xml:"voicemsg"`
//Extcommoninfo string `xml:"extcommoninfo"`
}