Documentation ¶
Overview ¶
Package customer_group 客户联系/客户群管理
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(ctx *corporation.App, payload []byte) (resp []byte, err error)
获取客户群详情
需注意的是,如果发生群信息变动,会立即收到群变更事件,但是部分信息是异步处理,可能需要等一段时间调此接口才能得到最新结果
See: https://work.weixin.qq.com/api/doc/90000/90135/92122
POST https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/get?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/cvblood/qywxapi/corporation" "github.com/cvblood/qywxapi/corporation/apis/external_contact/customer_group" ) func main() { var ctx *corporation.App payload := []byte("{}") resp, err := customer_group.Get(ctx, payload) fmt.Println(resp, err) }
Output:
func List ¶
func List(ctx *corporation.App, payload []byte) (resp []byte, err error)
获取客户群列表
该接口用于获取配置过客户群管理的客户群列表。
See: https://work.weixin.qq.com/api/doc/90000/90135/92120
POST https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/list?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/cvblood/qywxapi/corporation" "github.com/cvblood/qywxapi/corporation/apis/external_contact/customer_group" ) func main() { var ctx *corporation.App payload := []byte("{}") resp, err := customer_group.List(ctx, payload) fmt.Println(resp, err) }
Output:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.