The highest tagged major version is
v3 .
Discover Packages
github.com/ArtisanCloud/PowerWeChat/v2
src
officialAccount
material
request
package
Version:
v2.0.1-beta10
Opens a new window with list of versions in this module.
Published: Jun 17, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Article struct {
Title string `json:"title"`
ThumbMediaID string `json:"thumb_media_id"`
Author string `json:"author"`
Digest string `json:"digest"`
ShowCoverPic string `json:"show_cover_pic"`
Content string `json:"content"`
ContentSourceUrl string `json:"content_source_url"`
NeedOpenComment string `json:"need_open_comment"`
OnlyFansCanComment string `json:"only_fans_can_comment"`
}
type RequestAddArticles struct {
Articles []*Article `json:"articles"`
}
type RequestMaterialAddMaterial struct {
Type string `json:"type"`
Media *power .HashMap `json:"media"`
Title string `json:"title"`
Introduction string `json:"introduction"`
}
type RequestMaterialAddNews struct {
Articles []*power .HashMap `json:"articles"`
}
type RequestMaterialBatchGetMaterial struct {
Type string `json:"type"`
Offset int64 `json:"offset"`
Count int64 `json:"count"`
}
type RequestMaterialUpdateNews struct {
MediaID int64 `json:"media_id"`
Index int64 `json:"index"`
Articles []*power .HashMap `json:"articles"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.