MCPcopy
hub / github.com/silenceper/wechat / OfficialAccount

Struct OfficialAccount

officialaccount/officialaccount.go:31–48  ·  view source on GitHub ↗

OfficialAccount 微信公众号相关API

Source from the content-addressed store, hash-verified

29
30// OfficialAccount 微信公众号相关API
31type OfficialAccount struct {
32 ctx *context.Context
33 basic *basic.Basic
34 menu *menu.Menu
35 oauth *oauth.Oauth
36 material *material.Material
37 draft *draft.Draft
38 freepublish *freepublish.FreePublish
39 js *js.Js
40 user *user.User
41 templateMsg *message.Template
42 managerMsg *message.Manager
43 device *device.Device
44 broadcast *broadcast.Broadcast
45 datacube *datacube.DataCube
46 ocr *ocr.OCR
47 subscribeMsg *message.Subscribe
48}
49
50// NewOfficialAccount 实例化公众号API
51func NewOfficialAccount(cfg *config.Config) *OfficialAccount {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected