-
Notifications
You must be signed in to change notification settings - Fork 165
/
responseList.go
35 lines (27 loc) · 976 Bytes
/
responseList.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package response
import "github.com/ArtisanCloud/PowerWeChat/v3/src/kernel/response"
type KF struct {
KFAccount string `json:"kf_account"`
KFHeadImgURL string `json:"kf_headimgurl"`
KFID int `json:"kf_id"`
KFNick string `json:"kf_nick"`
KFWx string `json:"kf_wx,omitempty"`
InviteWx string `json:"invite_wx,omitempty"`
InviteExpireTime int `json:"invite_expire_time,omitempty"`
InviteStatus string `json:"invite_status,omitempty"`
}
type ResponseList struct {
*response.ResponseOfficialAccount
KFList []*KF `json:"kf_list"`
}
// ------------------------------------------------------------
type KFOnline struct {
KFAccount string `json:"kf_account"`
Status int `json:"status"`
KFID string `json:"kf_id"`
AcceptedCase int `json:"accepted_case"`
}
type ResponseKFOnlineList struct {
*response.ResponseOfficialAccount
KfOnlineList []*KFOnline `json:"kf_online_list"`
}