guide

package
v3.0.0-beta8 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BaseClient *kernel.BaseClient
}

func RegisterProvider

func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)

func (*Client) CreateAdviser

func (comp *Client) CreateAdviser(ctx context.Context, guideAccount string, guideOpenID string, guideHeadImgURL string, guideNickname string) (*response2.ResponseOfficialAccount, error)

为服务号添加顾问 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.addGuideAcct.html

func (*Client) GetBuyerByTag

func (comp *Client) GetBuyerByTag(ctx context.Context, guideAccount string, guideOpenID string, pushCount int, tagValues []string) (*response.ResponseGuideGetBuyerByTag, error)

根据标签值筛选客户 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.queryGuideBuyerByTag.html

func (*Client) GetGroups

func (comp *Client) GetGroups(ctx context.Context, groupName string) (*response.ResponseGuideGetGroups, error)

获取指定顾问分组信息,以及分组内顾问信息 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGroupInfo.html

func (*Client) RebindBuyerGuide

func (comp *Client) RebindBuyerGuide(ctx context.Context, oldGuideTarget string, newGuideTarget string, openidList []string, useTargetOpenID bool) (*response.ResponseGuideBuyerRelation, error)

为客户更换顾问 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.rebindGuideAcctForBuyer.html

func (*Client) SelectAccountAndOpenID

func (comp *Client) SelectAccountAndOpenID(ctx context.Context, params *object.HashMap, guideAccount string, guideOpenID string) (*object.HashMap, error)

func (*Client) SetAdviserConfig

func (comp *Client) SetAdviserConfig(ctx context.Context, guideAccount string, guideOpenID string, isDelete bool,
	blackKeyword *request.BlackKeyword, guideAutoReply *request.AutoReply) (*response2.ResponseOfficialAccount, error)

设置离线自动回复与敏感词 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.setGuideConfig.html

func (*Client) SetBuyerDisplayTags

func (comp *Client) SetBuyerDisplayTags(ctx context.Context, guideAccount string, guideOpenID string, openID string, displayTagList []string) (*response2.ResponseOfficialAccount, error)

设置自定义客户信息 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.addGuideBuyerDisplayTag.html

func (*Client) SetConfig

func (comp *Client) SetConfig(ctx context.Context, guideAccount string, guideOpenID string, isDelete bool,
	fastReplyListArray *request.FastReplyList, guideAutoReply *request.AutoReply, guideAutoReplyPlus *request.AutoReply) (*response2.ResponseOfficialAccount, error)

设置快捷回复与关注自动回复 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.setGuideConfig.html

func (*Client) UpdateAdviser

func (comp *Client) UpdateAdviser(ctx context.Context, guideAccount string, guideOpenID string, guideHeadImgURL string, guideNickname string) (*response2.ResponseOfficialAccount, error)

修改顾问的昵称或头像 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.updateGuideAcct.html

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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