-
Notifications
You must be signed in to change notification settings - Fork 174
/
responseGetContactWay.go
57 lines (47 loc) · 1.48 KB
/
responseGetContactWay.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package response
import "github.com/ArtisanCloud/PowerWeChat/v3/src/kernel/response"
type Text struct {
Content string `json:"content"`
}
type Image struct {
PicURL string `json:"pic_url"`
}
type Link struct {
Title string `json:"title"`
PicURL string `json:"picurl"`
Desc string `json:"desc"`
URL string `json:"url"`
}
type MiniProgram struct {
Title string `json:"title"`
PicMediaID string `json:"pic_media_id"`
AppID string `json:"appid"`
Page string `json:"page"`
}
type Conclusions struct {
Text *Text `json:"text"`
Image *Image `json:"image"`
Link *Link `json:"link"`
MiniProgram *MiniProgram `json:"miniprogram"`
}
type ContactWay struct {
ConfigID string `json:"config_id"`
Type int `json:"type"`
Scene int `json:"scene"`
Style int `json:"style"`
Remark string `json:"remark"`
SkipVerify bool `json:"skip_verify"`
State string `json:"state"`
QrCode string `json:"qr_code"`
User []string `json:"user"`
Party []int `json:"party"`
IsTemp bool `json:"is_temp"`
ExpiresIn int `json:"expires_in"`
ChatExpiresIn int `json:"chat_expires_in"`
UnionID string `json:"unionid"`
Conclusions *Conclusions `json:"conclusions"`
}
type ResponseGetContactWay struct {
response.ResponseWork
ContactWay *ContactWay `json:"contact_way"`
}