Documentation ¶
Index ¶
- func AddKfAccount(clt *mp.Client, account, nickname, password string, isPwdPlain bool) (err error)
- func DeleteKfAccount(clt *mp.Client, kfAccount string) (err error)
- func SetKfAccount(clt *mp.Client, account, nickname, password string, isPwdPlain bool) (err error)
- func UploadKfHeadImage(clt *mp.Client, kfAccount, imagePath string) (err error)
- func UploadKfHeadImageFromReader(clt *mp.Client, kfAccount, filename string, reader io.Reader) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddKfAccount ¶
添加客服账号.
account: 完整客服账号, 格式为: 账号前缀@公众号微信号, 账号前缀最多10个字符, 必须是英文或者数字字符. nickname: 客服昵称, 最长6个汉字或12个英文字符 password: 客服账号登录密码 isPwdPlain: 标识 password 是否为明文格式, true 表示是明文密码, false 表示是密文密码.
func SetKfAccount ¶
设置客服信息(增量更新, 不更新的可以留空).
account: 完整客服账号, 格式为: 账号前缀@公众号微信号, 账号前缀最多10个字符, 必须是英文或者数字字符. nickname: 客服昵称, 最长6个汉字或12个英文字符 password: 客服账号登录密码 isPwdPlain: 标识 password 是否为明文格式, true 表示是明文密码, false 表示是密文密码.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.