1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-03-01 00:35:26 +08:00

快捷获取公众号订阅消息对象 (#435)

* 快捷获取公众号订阅消息对象

* fix: typo subscrib -> subscribe
This commit is contained in:
ZmJ
2021-08-16 14:39:44 +08:00
committed by GitHub
parent 13611466f3
commit fc1fc7e84e
2 changed files with 18 additions and 13 deletions

View File

@@ -120,3 +120,8 @@ func (officialAccount *OfficialAccount) GetDataCube() *datacube.DataCube {
func (officialAccount *OfficialAccount) GetOCR() *ocr.OCR {
return ocr.NewOCR(officialAccount.ctx)
}
//GetSubscribe 公众号订阅消息
func (officialAccount *OfficialAccount) GetSubscribe() *message.Subscribe {
return message.NewSubscribe(officialAccount.ctx)
}