Documentation ¶
Index ¶
- type AgreeInfo
- type Agreeinfo
- type Client
- func (r *Client) GetMessageInstance() (client *WeWorkFinanceSDK.Client, err error)
- func (r *Client) GetMessageSeq() (seq uint64, err error)
- func (r *Client) MsgAuditGetPermitUserList(options MsgAuditGetPermitUserListOptions) (info MsgAuditGetPermitUserListSchema, err error)
- func (r *Client) MsgCheckSingleAgreeList(options MsgCheckSingleAgreeOptions) (info MsgCheckSingleAgreeSchema, err error)
- func (r *Client) SetMessageSeq(newSeq uint64) (seq uint64, err error)
- type Error
- type MsgAuditGetPermitUserListOptions
- type MsgAuditGetPermitUserListSchema
- type MsgCheckSingleAgreeOptions
- type MsgCheckSingleAgreeSchema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 会话内容归档实例
func (*Client) GetMessageInstance ¶
func (r *Client) GetMessageInstance() (client *WeWorkFinanceSDK.Client, err error)
GetMessageInstance 获取会话归档实例
func (*Client) GetMessageSeq ¶
GetMessageSeq 获取消息seq
func (*Client) MsgAuditGetPermitUserList ¶
func (r *Client) MsgAuditGetPermitUserList(options MsgAuditGetPermitUserListOptions) (info MsgAuditGetPermitUserListSchema, err error)
MsgAuditGetPermitUserList 获取开启了存档的用户
func (*Client) MsgCheckSingleAgreeList ¶
func (r *Client) MsgCheckSingleAgreeList(options MsgCheckSingleAgreeOptions) (info MsgCheckSingleAgreeSchema, err error)
MsgCheckSingleAgreeList 获取会话中外部成员的同意情况
type Error ¶
type Error string
Error 错误
const ( // SDKInitFailed 错误码:50001 SDKInitFailed Error = "SDK初始化失败" SDKCacheUnavailable Error = "缓存无效" // SDKUnknownError 错误码:50003 SDKUnknownError Error = "未知错误" // SDKInvalidCredential 错误码:40001 SDKInvalidCredential Error = "不合法的secret参数" // SDKInvalidCorpID 错误码:40013 SDKInvalidCorpID Error = "无效的 CorpID" // SDKAccessTokenInvalid 错误码:40014 SDKAccessTokenInvalid Error = "AccessToken 无效" // SDKValidateSignatureFailed 错误码:40015 SDKValidateSignatureFailed Error = "校验签名错误" // SDKDecryptMSGFailed 错误码:40016 SDKDecryptMSGFailed Error = "消息解密失败" // SDKAccessTokenMissing 错误码:41001 SDKAccessTokenMissing Error = "缺少AccessToken参数" // SDKAccessTokenExpired 错误码:42001 SDKAccessTokenExpired Error = "AccessToken 已过期" // SDKApiFreqOutOfLimit 错误码:45009 SDKApiFreqOutOfLimit Error = "接口请求次数超频" // SDKApiForbidden 错误码:48002 SDKApiForbidden Error = "API 禁止调用" // SDKInvalidOpenKFID 错误码:95000 SDKInvalidOpenKFID Error = "无效的 open_kfid" // SDKOpenKFIDNotExist 错误码:95004 SDKOpenKFIDNotExist Error = "open_kfid 不存在" // SDKWeWorkAlready 错误码:95011 SDKWeWorkAlready Error = "已在企业微信使用微信客服" // SDKNotUseInWeCom 错误码:95012 SDKNotUseInWeCom Error = "未在企业微信使用微信客服" // SDKApiNotOpen 错误码:95017 SDKApiNotOpen Error = "API 功能没有被开启" )
type MsgAuditGetPermitUserListOptions ¶
type MsgAuditGetPermitUserListOptions struct {
Type int `json:"type"` // 拉取对应版本的开启成员列表。1表示办公版;2表示服务版;3表示企业版。非必填,不填写的时候返回全量成员列表。
}
MsgAuditGetPermitUserListOptions 获取企业开启会话内容存档的成员列表请求参数
type MsgAuditGetPermitUserListSchema ¶
type MsgAuditGetPermitUserListSchema struct { util.CommonError Ids []string `json:"ids"` }
MsgAuditGetPermitUserListSchema 获取企业开启会话内容存档的成员列表响应内容
type MsgCheckSingleAgreeOptions ¶
type MsgCheckSingleAgreeOptions struct {
AgreeInfo []AgreeInfo `json:"info"`
}
MsgCheckSingleAgreeOptions 获取会话中外部成员的同意情况请求参数
type MsgCheckSingleAgreeSchema ¶
type MsgCheckSingleAgreeSchema struct { util.CommonError Agreeinfo []Agreeinfo `json:"agreeinfo"` }
MsgCheckSingleAgreeSchema 获取会话中外部成员的同意情况响应内容
Click to show internal directories.
Click to hide internal directories.