OfficialAccount 微信公众号相关API
| 29 | |
| 30 | // OfficialAccount 微信公众号相关API |
| 31 | type 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 |
| 51 | func NewOfficialAccount(cfg *config.Config) *OfficialAccount { |
nothing calls this directly
no outgoing calls
no test coverage detected