Documentation ¶
Index ¶
Constants ¶
View Source
const ( Text = "text" Markdown = "markdown" Image = "image" News = "news" File = "file" All = "@all" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileMessage ¶
type FileMessage struct {
MediaId string `json:"media_id"`
}
func (*FileMessage) GetType ¶
func (file *FileMessage) GetType() string
type ImageMessage ¶
func (*ImageMessage) GetType ¶
func (image *ImageMessage) GetType() string
type MarkdownMessage ¶
type MarkdownMessage struct {
Content string `json:"content"`
}
func (*MarkdownMessage) GetType ¶
func (markdown *MarkdownMessage) GetType() string
type NewsMessage ¶
type NewsMessage struct {
Articles []NewsMessageArticle `json:"articles"`
}
func (*NewsMessage) AddArticle ¶
func (news *NewsMessage) AddArticle(article ...NewsMessageArticle)
func (*NewsMessage) GetType ¶
func (news *NewsMessage) GetType() string
type NewsMessageArticle ¶
type TextMessage ¶
type TextMessage struct { Content string `json:"content"` MentionedList []string `json:"mentioned_list,omitempty"` MentionedMobileList []string `json:"mentioned_mobile_list,omitempty"` }
func (*TextMessage) GetType ¶
func (text *TextMessage) GetType() string
type WxWorkBot ¶
type WxWorkBot struct {
// contains filtered or unexported fields
}
func (*WxWorkBot) UploadMedia ¶
Click to show internal directories.
Click to hide internal directories.