idConvert

package
v3.2.59 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 4 Imported by: 0

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 NewClient

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

func RegisterProvider

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

func (*Client) ExternalTagIDToOpenExternalTagID

func (comp *Client) ExternalTagIDToOpenExternalTagID(ctx context.Context, externalTagIDList []string) (*response.ResponseExternalTagIDToOpenExternalTagID, error)

客户标签ID的转换 https://developer.work.weixin.qq.com/document/path/96169

func (*Client) ExternalUserIDToPendingID

func (comp *Client) ExternalUserIDToPendingID(ctx context.Context, externalUserID []string, chatID string) ([]response.ExternalUserIDToPendingIDResult, error)

external_userid查询pending_id 该接口可用于当一个微信用户成为企业客户前已经使用过服务商服务(服务商曾通过unionid查询external_userid接口获取到pending_id)的场景。本接口获取到的pending_id可以维持unionid和external_userid的关联关系。pending_id有效期为90天,超过有效期之后,将无法通过该接口将external_userid换取对应的pending_id。

func (*Client) OpenUserIDToUserID

func (comp *Client) OpenUserIDToUserID(ctx context.Context, sourceAgentID int, openUserIDList []string) (*response.ResponseOpenUserIDToUserID, error)

userid的转换 https://developer.work.weixin.qq.com/document/path/97062

func (*Client) UserIDToOpenUserID

func (comp *Client) UserIDToOpenUserID(ctx context.Context, userIDList []string) ([]response.UserIDToOpenUserIDResult, error)

userid的转换 https://developer.work.weixin.qq.com/document/path/97062

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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