Documentation ¶
Overview ¶
Package message 消息管理
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentAutoreplyInfo ¶
func GetCurrentAutoreplyInfo(ctx *offiaccount.OffiAccount) (resp []byte, err error)
获取公众号的自动回复规则
开发者可以通过该接口,获取公众号当前使用的自动回复规则,包括关注后自动回复、消息自动回复(60分钟内触发一次)、关键词自动回复
GET https://api.weixin.qq.com/cgi-bin/get_current_autoreply_info?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/message" ) func main() { var ctx *offiaccount.OffiAccount resp, err := message.GetCurrentAutoreplyInfo(ctx) fmt.Println(resp, err) }
Output:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.