package
Version:
v0.0.0-...-8eff3c5
Opens a new window with list of versions in this module.
Published: Apr 7, 2021
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Article struct {
Title string `json:"title"`
Description string `json:"description"`
URL string `json:"url"`
PicURL string `json:"picurl"`
}
type EnterpriseWechatPushService struct{}
type Markdown struct {
Content string `json:"content"`
}
type MarkdownMessage struct {
MsgType string `json:"msgtype"`
Markdown *Markdown `json:"markdown"`
MentionedList []string `json:"mentioned_list"`
MentionedMobileList []string `json:"mentioned_mobile_list"`
}
type NewMessage struct {
MsgType string `json:"msgtype"`
News *News `json:"news"`
}
type News struct {
Articles []Article `json:"articles"`
}
type NewsMessage struct {
MsgType string `json:"msgtype"`
Markdown Markdown `json:"news"`
}
type TextMessage struct {
MsgType string `json:"msgtype"`
Content string `json:"content"`
MentionedList []string `json:"mentioned_list"`
MentionedMobileList []string `json:"mentioned_mobile_list"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.