Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
113: feat: 获取员工创建的客户(外部)群列表及客户(外部)群详细 r=xen0n a=tiger1103 ### `ReqChatListOwnerFilter` 群主过滤 Name|JSON|Type|Doc :---|:---|:---|:-- `UserIDList`|`userid_list`|`[]string`| 用户ID列表。最多100个 ### `ReqChatList` 获取客户群列表参数 Name|JSON|Type|Doc :---|:---|:---|:-- `StatusFilter`|`status_filter`|`int64`| 客户群跟进状态过滤 `OwnerFilter`|`owner_filter`|`ReqChatListOwnerFilter`| 群主过滤 `Cursor`|`cursor`|`string`| 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用不填 `Limit`|`limit`|`int64`| 分页,预期请求的数据量,取值范围 1 ~ 1000 ### `RespGroupChatList` 客户群列表数据 Name|JSON|Type|Doc :---|:---|:---|:-- `ChatID`|`chat_id`|`string`| 客户群ID `Status`|`status`|`int64`| 客户群跟进状态 0 - 跟进人正常 1 - 跟进人离职 2 - 离职继承中 3 - 离职继承完成 ### `RespAppchatList` 客户群列表结果 Name|JSON|Type|Doc :---|:---|:---|:-- `GroupChatList`|`group_chat_list`|`[]RespGroupChatList`| 客户群列表 `NextCursor`|`next_cursor`|`string`| 分页游标 ### `ChatMemberList` 客户群成员列表 Name|JSON|Type|Doc :---|:---|:---|:-- `UserID`|`userid`|`string`| 群成员ID `Type`|`type`|`int64`| 群成员类型 1 - 企业成员 2 - 外部联系人 `UnionID`|`unionid`|`string`| 微信unionid `JoinTime`|`join_time`|`int64`| 入群时间 `JoinScene`|`join_scene`|`int64`| 入群方式。1 - 由群成员邀请入群(直接邀请入群)2 - 由群成员邀请入群(通过邀请链接入群)3 - 通过扫描群二维码入群 `Invitor`|`invitor`|`ChatMemberListInvitor`| 邀请者。目前仅当是由本企业内部成员邀请入群时会返回该值 `GroupNickname`|`group_nickname`|`string`| 在群里的昵称 `Name`|`name`|`string`| 在群里名字 ### `ChatMemberListInvitor` 入群邀请者 Name|JSON|Type|Doc :---|:---|:---|:-- `UserID`|`userid`|`string`| 邀请者ID ### `ChatAdminList` 客户群管理员列表 Name|JSON|Type|Doc :---|:---|:---|:-- `UserID`|`userid`|`string`| 管理员ID ### `RespAppChatInfo` 客户群详情 Name|JSON|Type|Doc :---|:---|:---|:-- `ChatID`|`chat_id`|`string`| 客户群ID `Name`|`name`|`string`| 客户群名称 `Owner`|`owner`|`string`| 群主ID `CreateTime`|`create_time`|`int64`| 群创建时间 `Notice`|`notice`|`string`| 群公告 `MemberList`|`member_list`|`[]*ChatMemberList`| 群成员列表 `AdminList`|`admin_list`|`[]*ChatAdminList`| 群管理员列表 ```go // ChatNeedName 是否需要返回群成员的名字 0-不返回;1-返回。默认不返回 const ChatNeedName int64 = 1 ``` Co-authored-by: yxh <yxh1103@qq.com>
- Loading branch information
Showing
6 changed files
with
268 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters