规范目录

This commit is contained in:
silenceper committed 2020-01-20 13:54:04 +08:00
1 parent 9b06954b10
commit 15ebd71a04
75 files changed
+985 -1871

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
package message
//Image 图片消息
type Image struct {
CommonToken
Image struct {
MediaID string `xml:"MediaId"`
} `xml:"Image"`
}
//NewImage 回复图片消息
func NewImage(mediaID string) *Image {
image := new(Image)
image.Image.MediaID = mediaID
return image
}