customerSupport

package
v0.0.0-...-ed8de99 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomerSupportMenuEntity

type CustomerSupportMenuEntity struct {
	HeadContent string                          `json:"head_content"`
	TailContent string                          `json:"tail_content"`
	List        []CustomerSupportMenuItemEntity `json:"list"`
}

type CustomerSupportMenuItemEntity

type CustomerSupportMenuItemEntity struct {
	Id      string `json:"id"`
	Content string `json:"content"`
}

type WxCustomerSupport

type WxCustomerSupport struct {
	KfId             string `json:"kf_id"`
	KfAccount        string `json:"kf_account"` //完整客服帐号,格式为:帐号前缀@公众号微信号,帐号前缀最多10个字符,必须是英文、数字字符或者下划线,后缀为公众号微信号,长度不超过30个字符
	Nickname         string `json:"nickname"`
	KfNick           string `json:"kf_nick"`
	KfWx             string `json:"kf_wx"`
	Password         string `json:"password"`
	Media            string `json:"media"`
	KfHeadImgUrl     string `json:"kf_headimgurl"`
	InviteWx         string `json:"invite_wx"`
	InviteExpireTime string `json:"invite_expire_time"`
	InviteStatus     string `json:"invite_status"`
	AcceptedCase     int    `json:"accepted_case"`
}

type WxCustomerSupportMsg

type WxCustomerSupportMsg struct {
	ToUser          string                    `json:"touser"`
	MsgType         string                    `json:"msgtype"`
	Text            MediaEntity               `json:"text"`
	Image           MediaEntity               `json:"image"`
	Voice           MediaEntity               `json:"voice"`
	Video           MediaEntity               `json:"video"`
	Music           MediaEntity               `json:"music"`
	News            map[string][]MediaEntity  `json:"news"`
	MpNews          MediaEntity               `json:"mpnews"`
	MsgMenu         CustomerSupportMenuEntity `json:"msgmenu"`
	WxCard          CardEntity                `json:"wxcard"`
	MiniProgramPage MiniProgramEntity         `json:"miniprogrampage"`
	CustomService   WxCustomerSupport         `json:"customservice"`
}

type WxCustomerSupportMsgRecord

type WxCustomerSupportMsgRecord struct {
	Worker   string `json:"worker"`
	OpenId   string `json:"openid"`
	OperCode int    `json:"opercode"`
	Text     string `json:"text"`
	Time     int    `json:"time"`
}

type WxCustomerSupportSession

type WxCustomerSupportSession struct {
	KfAccount  string `json:"kf_account"`
	CreateTime int    `json:"createtime"`
	OpenId     string `json:"openid"`
	LatestTime int    `json:"latest_time"`
}

Jump to

Keyboard shortcuts

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