1
This commit is contained in:
36
platformapi/qywxapi/cgibin_model.go
Normal file
36
platformapi/qywxapi/cgibin_model.go
Normal file
@@ -0,0 +1,36 @@
|
||||
package qywxapi
|
||||
|
||||
// 获取客户群详情
|
||||
type GroupchatResutl struct {
|
||||
Errcode int `json:"errcode"`
|
||||
Errmsg string `json:"errmsg"`
|
||||
GroupChat struct {
|
||||
ChatID string `json:"chat_id"`
|
||||
Name string `json:"name"`
|
||||
Owner string `json:"owner"`
|
||||
CreateTime int `json:"create_time"`
|
||||
MemberList []struct {
|
||||
Userid string `json:"userid"`
|
||||
Type int `json:"type"`
|
||||
JoinTime int `json:"join_time"`
|
||||
JoinScene int `json:"join_scene"`
|
||||
UnionID string `json:"unionid"`
|
||||
Invitor struct {
|
||||
Userid string `json:"userid"`
|
||||
} `json:"invitor,omitempty"`
|
||||
State string `json:"state,omitempty"`
|
||||
} `json:"member_list"`
|
||||
AdminList []interface{} `json:"admin_list"`
|
||||
} `json:"group_chat"`
|
||||
}
|
||||
|
||||
// 获取客户群列表
|
||||
type GroupchatListResult struct {
|
||||
Errcode int `json:"errcode"`
|
||||
Errmsg string `json:"errmsg"`
|
||||
GroupChatList []struct {
|
||||
ChatID string `json:"chat_id"`
|
||||
Status int `json:"status"`
|
||||
} `json:"group_chat_list"`
|
||||
NextCursor string `json:"next_cursor"`
|
||||
}
|
||||
Reference in New Issue
Block a user