customer_moment

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package customer_moment 客户联系/客户朋友圈

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMomentComments

func GetMomentComments(ctx *corporation.App, payload []byte) (resp []byte, err error)

获取客户朋友圈的互动数据

企业和第三方应用可通过此接口获取客户朋友圈的互动数据。

See: https://work.weixin.qq.com/api/doc/90000/90135/93333

POST https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_comments?access_token=ACCESS_TOKEN

Example
package main

import (
	"fmt"

	"github.com/cvblood/qywxapi/corporation"
	"github.com/cvblood/qywxapi/corporation/apis/external_contact/customer_moment"
)

func main() {
	var ctx *corporation.App

	payload := []byte("{}")
	resp, err := customer_moment.GetMomentComments(ctx, payload)

	fmt.Println(resp, err)
}
Output:

func GetMomentCustomerList

func GetMomentCustomerList(ctx *corporation.App, payload []byte) (resp []byte, err error)

获取客户朋友圈发表时选择的可见范围

See: https://work.weixin.qq.com/api/doc/90000/90135/93333

POST https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_customer_list?access_token=ACCESS_TOKEN

Example
package main

import (
	"fmt"

	"github.com/cvblood/qywxapi/corporation"
	"github.com/cvblood/qywxapi/corporation/apis/external_contact/customer_moment"
)

func main() {
	var ctx *corporation.App

	payload := []byte("{}")
	resp, err := customer_moment.GetMomentCustomerList(ctx, payload)

	fmt.Println(resp, err)
}
Output:

func GetMomentList

func GetMomentList(ctx *corporation.App, payload []byte) (resp []byte, err error)

获取企业全部的发表列表

企业和第三方应用可通过该接口获取企业全部的发表内容。

See: https://work.weixin.qq.com/api/doc/90000/90135/93333

POST https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_list?access_token=ACCESS_TOKEN

Example
package main

import (
	"fmt"

	"github.com/cvblood/qywxapi/corporation"
	"github.com/cvblood/qywxapi/corporation/apis/external_contact/customer_moment"
)

func main() {
	var ctx *corporation.App

	payload := []byte("{}")
	resp, err := customer_moment.GetMomentList(ctx, payload)

	fmt.Println(resp, err)
}
Output:

func GetMomentSendResult

func GetMomentSendResult(ctx *corporation.App, payload []byte) (resp []byte, err error)

获取客户朋友圈发表后的可见客户列表

See: https://work.weixin.qq.com/api/doc/90000/90135/93333

POST https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_send_result?access_token=ACCESS_TOKEN

Example
package main

import (
	"fmt"

	"github.com/cvblood/qywxapi/corporation"
	"github.com/cvblood/qywxapi/corporation/apis/external_contact/customer_moment"
)

func main() {
	var ctx *corporation.App

	payload := []byte("{}")
	resp, err := customer_moment.GetMomentSendResult(ctx, payload)

	fmt.Println(resp, err)
}
Output:

func GetMomentTask

func GetMomentTask(ctx *corporation.App, payload []byte) (resp []byte, err error)

获取客户朋友圈企业发表的列表

企业和第三方应用可通过该接口获取企业发表的朋友圈成员执行情况

See: https://work.weixin.qq.com/api/doc/90000/90135/93333

POST https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_task?access_token=ACCESS_TOKEN

Example
package main

import (
	"fmt"

	"github.com/cvblood/qywxapi/corporation"
	"github.com/cvblood/qywxapi/corporation/apis/external_contact/customer_moment"
)

func main() {
	var ctx *corporation.App

	payload := []byte("{}")
	resp, err := customer_moment.GetMomentTask(ctx, payload)

	fmt.Println(resp, err)
}
Output:

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL