Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
MediaID string `json:"mediaid"` // "MEDIA_ID",
PicURL string `json:"pic_url"` // "http://p.qpic.cn/pic_wework/3474110808/7a6344sdadfwehe42060/0"
}
type ImageOfMessage ¶
type Link ¶
type Link struct {
Title string `json:"title"` // "消息标题",
PicURL string `json:"pic_url"` // "https://example.pic.com/path",
Desc string `json:"desc"` // "消息描述",
URL string `json:"url"` // "https://example.link.com/path"
}
type LinkOfMessage ¶
type MiniProgram ¶
type MiniProgramOfMessage ¶
type MiniProgramOfMessage struct {
MsgType string `json:"msgtype"` // "miniprogram"
MiniProgram MiniProgram `json:"miniprogram"`
}
type RequestAddMsgTemplate ¶
type RequestSendWelcomeMsg ¶
type RequestSendWelcomeMsg struct {
WelcomeCode string `json:"welcome_code"`
Text *TextOfMessage `json:"text"`
Attachments []*power.HashMap `json:"attachments"`
}
type TextOfMessage ¶
type TextOfMessage struct {
Content string `json:"content"` // "content",
}
type VideoOfMessage ¶
Click to show internal directories.
Click to hide internal directories.