mirror of
https://github.com/silenceper/wechat.git
synced 2026-11-16 05:12:03 +08:00
规范目录
This commit is contained in:
1 parent
9b06954b10
commit
15ebd71a04
75 files changed
+985
-1871
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user