Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
*MediaPreview
Image MediaInfo `json:"image"`
}
type MPVideo ¶
type MPVideo struct {
*MediaPreview
MPVideo MediaInfo `json:"mpvideo"`
}
type MediaPreview ¶
type MediaPreview struct {
MediaPreviewInterface
ToUser string `json:"touser"`
ToWXName string `json:"towxname"`
MsgType string `json:"msgtype"`
}
---------------------------------------------
func (*MediaPreview) GetMsgType ¶
func (media *MediaPreview) GetMsgType() string
func (*MediaPreview) GetToUser ¶
func (media *MediaPreview) GetToUser() string
type MediaPreviewInterface ¶
type NPNews ¶
type NPNews struct {
*MediaPreview
MPNews *MediaInfo `json:"mpnews"`
}
type Text ¶
type Text struct {
*MediaPreview
Text MediaInfo `json:"text"`
}
type Voice ¶
type Voice struct {
*MediaPreview
Voice MediaInfo `json:"voice"`
}
type WXCard ¶
type WXCard struct {
*MediaPreview
WXCard *WXCardInfo `json:"wxcard"`
}
type WXCardInfo ¶
Click to show internal directories.
Click to hide internal directories.