Documentation
¶
Index ¶
Constants ¶
View Source
const ( CustomTypeText = "text" CustomTypeImage = "image" CustomTypeNews = "news" CustomTypeMpNews = "mpnews" CustomTypeMenu = "msgmenu" CustomTypeMiniprogrampage = "miniprogrampage" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MeesageMiniprogrampage ¶
type Message ¶
type Message struct {
Touser string `json:"touser"`
Msgtype string `json:"msgtype"`
Customservice *MessageCustomservice `json:"customservice,omitempty"`
Text *MessageText `json:"text,omitempty"`
Image *MessageImage `json:"image,omitempty"`
News *MessageNews `json:"news,omitempty"`
Miniprogrampage *MeesageMiniprogrampage `json:"miniprogrampage,omitempty"`
}
type MessageArticle ¶
type MessageCustomservice ¶
type MessageCustomservice struct {
KfAccount string `json:"kf_account"`
}
type MessageImage ¶
type MessageImage struct {
MediaID string `json:"media_id"`
}
type MessageMsgmenu ¶
type MessageMsgmenu struct {
}
type MessageMsgmenus ¶
type MessageMsgmenus struct {
}
type MessageNews ¶
type MessageNews struct {
Articles []MessageArticle `json:"articles"`
}
type MessageText ¶
type MessageText struct {
Content string `json:"content"`
}
Click to show internal directories.
Click to hide internal directories.