-
Notifications
You must be signed in to change notification settings - Fork 147
/
requestAddContactWay.go
26 lines (23 loc) · 1.08 KB
/
requestAddContactWay.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
package request
import (
"github.com/ArtisanCloud/PowerWeChat/v2/src/kernel/power"
)
type RequestAddContactWay struct {
Type int `json:"type"` // :1,
Scene int `json:"scene"` // 1,
Style int `json:"style"` // 1,
Remark string `json:"remark"` // "渠道客户",
SkipVerify bool `json:"skip_verify"` // true,
State string `json:"state"` // "teststate",
User []string `json:"user"` // : ["zhangsan", "lisi", "wangwu"],
Party []int `json:"party"` // : [2, 3],
IsTemp bool `json:"is_temp"` // true,
ExpiresIn int `json:"expires_in"` // 86400,
ChatExpiresIn int `json:"chat_expires_in"` // 86400,
UnionID string `json:"unionid"` // "oxTWIuGaIt6gTKsQRLau2M0AAAA",
Conclusions *power.HashMap `json:"conclusions"`
}
type RequestUpdateContactWay struct {
RequestAddContactWay
ConfigID string `json:"config_id"`
}