Documentation ¶
Overview ¶
Package job 服务号对话能力(原微信导购助手)/群发任务
Index ¶
- func AddGuideMassendJob(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func CancelGuideMassendJob(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func GetGuideMassendJob(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func GetGuideMassendJobList(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
- func UpdateGuideMassendJob(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGuideMassendJob ¶
func AddGuideMassendJob(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
添加群发任务
POST https://api.weixin.qq.com/cgi-bin/guide/addguidemassendjob?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/job" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := job.AddGuideMassendJob(ctx, payload) fmt.Println(resp, err) }
Output:
func CancelGuideMassendJob ¶
func CancelGuideMassendJob(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
取消群发任务
POST https://api.weixin.qq.com/cgi-bin/guide/cancelguidemassendjob?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/job" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := job.CancelGuideMassendJob(ctx, payload) fmt.Println(resp, err) }
Output:
func GetGuideMassendJob ¶
func GetGuideMassendJob(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
获取指定群发任务信息
POST https://api.weixin.qq.com/cgi-bin/guide/getguidemassendjob?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/job" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := job.GetGuideMassendJob(ctx, payload) fmt.Println(resp, err) }
Output:
func GetGuideMassendJobList ¶
func GetGuideMassendJobList(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
获取群发任务列表
POST https://api.weixin.qq.com/cgi-bin/guide/getguidemassendjoblist?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/job" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := job.GetGuideMassendJobList(ctx, payload) fmt.Println(resp, err) }
Output:
func UpdateGuideMassendJob ¶
func UpdateGuideMassendJob(ctx *offiaccount.OffiAccount, payload []byte) (resp []byte, err error)
修改群发任务
POST https://api.weixin.qq.com/cgi-bin/guide/updateguidemassendjob?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/fastwego/offiaccount" "github.com/fastwego/offiaccount/apis/guide/job" ) func main() { var ctx *offiaccount.OffiAccount payload := []byte("{}") resp, err := job.UpdateGuideMassendJob(ctx, payload) fmt.Println(resp, err) }
Output:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.