Skip to content

Commit

Permalink
feat(work): add member_version field in GroupChatListResponse
Browse files Browse the repository at this point in the history
add member_version field in GroupChatListResponse
  • Loading branch information
Lumiaqian committed Dec 14, 2023
1 parent a5e674b commit 0f15123
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions work/externalcontact/groupchat.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,14 @@ type (
}
//GroupChat 客户群详情
GroupChat struct {
ChatID string `json:"chat_id"` //客户群ID
Name string `json:"name"` //群名
Owner string `json:"owner"` //群主ID
CreateTime int64 `json:"create_time"` //群的创建时间
Notice string `json:"notice"` //群公告
MemberList []GroupChatMember `json:"member_list"` //群成员列表
AdminList []GroupChatAdmin `json:"admin_list"` //群管理员列表
ChatID string `json:"chat_id"` //客户群ID
Name string `json:"name"` //群名
Owner string `json:"owner"` //群主ID
CreateTime int64 `json:"create_time"` //群的创建时间
Notice string `json:"notice"` //群公告
MemberList []GroupChatMember `json:"member_list"` //群成员列表
AdminList []GroupChatAdmin `json:"admin_list"` //群管理员列表
MemberVersion string `json:"member_version"` //当前群成员版本号。可以配合客户群变更事件减少主动调用本接口的次数
}
//GroupChatDetailResponse 客户群详情 返回值
GroupChatDetailResponse struct {
Expand Down

0 comments on commit 0f15123

Please sign in to comment.