request

package
v3.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conclusions

type Conclusions struct {
	Text        *request.TextOfMessage `json:"text"`
	Image       *request.Image         `json:"image"`
	Link        *request.Link          `json:"link"`
	MiniProgram *request.MiniProgram   `json:"miniprogram"`
}

type RequestAddContactWay

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 *Conclusions `json:"conclusions"`
}

type RequestListContactWay

type RequestListContactWay struct {
	StartTime int64  `json:"start_time"`
	EndTime   int64  `json:"end_time"`
	Cursor    string `json:"cursor"`
	Limit     int    `json:"limit"`
}

type RequestUpdateContactWay

type RequestUpdateContactWay struct {
	ConfigID      string       `json:"config_id"`
	Remark        string       `json:"remark"`
	SkipVerify    bool         `json:"skip_verify"`
	Style         int          `json:"style"`
	State         string       `json:"state"`
	User          []string     `json:"user"`
	Party         []int        `json:"party"`
	ExpiresIn     int          `json:"expires_in"`
	ChatExpiresIn int          `json:"chat_expires_in"`
	UnionID       string       `json:"unionid"`
	Conclusions   *Conclusions `json:"conclusions"`
}

------------------------------------------------------------------------

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL