request

package
v2.0.1-beta10 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestAccountServiceMsgFile

type RequestAccountServiceMsgFile struct {
	MediaID string `json:"media_id"`
}

type RequestAccountServiceMsgImage

type RequestAccountServiceMsgImage struct {
	MediaID string `json:"media_id"`
}
type RequestAccountServiceMsgLink struct {
	Title        string `json:"title"`
	Desc         string `json:"desc"`
	Url          string `json:"url"`
	ThumbMediaID string `json:"thumb_media_id"`
}

type RequestAccountServiceMsgLocation

type RequestAccountServiceMsgLocation struct {
	Name      string `json:"name"`
	Address   string `json:"address"`
	Latitude  int    `json:"latitude"`
	Longitude int    `json:"longitude"`
}

type RequestAccountServiceMsgMenu

type RequestAccountServiceMsgMenu struct {
	HeadContent string                             `json:"head_content"`
	TailContent string                             `json:"tail_content,omitempty"`
	List        []RequestAccountServiceMsgMenuList `json:"list,omitempty"`
}

type RequestAccountServiceMsgMenuList

type RequestAccountServiceMsgMenuList struct {
	Click       RequestAccountServiceMsgMenuListClick       `json:"click,omitempty"`
	View        RequestAccountServiceMsgMenuListView        `json:"view,omitempty"`
	MiniProgram RequestAccountServiceMsgMenuListMiniProgram `json:"miniprogram,omitempty"`
}

type RequestAccountServiceMsgMenuListClick

type RequestAccountServiceMsgMenuListClick struct {
	ID      string `json:"id"`
	Content string `json:"content"`
}

type RequestAccountServiceMsgMenuListMiniProgram

type RequestAccountServiceMsgMenuListMiniProgram struct {
	AppID    string `json:"appid"`
	PagePath string `json:"pagepath"`
	Content  string `json:"content"`
}

type RequestAccountServiceMsgMenuListView

type RequestAccountServiceMsgMenuListView struct {
	Url     string `json:"url"`
	Content string `json:"content"`
}

type RequestAccountServiceMsgMiniProgram

type RequestAccountServiceMsgMiniProgram struct {
	AppID        string `json:"appid"`
	Title        string `json:"title"`
	ThumbMediaID string `json:"thumb_media_id"`
	PagePath     string `json:"pagepath"`
}

type RequestAccountServiceMsgText

type RequestAccountServiceMsgText struct {
	Content string `json:"content"`
}

type RequestAccountServiceMsgVoice

type RequestAccountServiceMsgVoice struct {
	MediaID string `json:"media_id"`
}

type RequestAccountServiceSendMsg

type RequestAccountServiceSendMsg struct {
	ToUser      string                              `json:"touser"`
	OpenKfid    string                              `json:"open_kfid"`
	MsgID       string                              `json:"msgid"`
	MsgType     string                              `json:"msgtype"`
	Text        RequestAccountServiceMsgText        `json:"text,omitempty"`
	Image       RequestAccountServiceMsgImage       `json:"image,omitempty"`
	Voice       RequestAccountServiceMsgVoice       `json:"voice,omitempty"`
	File        RequestAccountServiceMsgFile        `json:"file,omitempty"`
	Link        RequestAccountServiceMsgLink        `json:"link,omitempty"`
	MiniProgram RequestAccountServiceMsgMiniProgram `json:"miniprogram,omitempty"`
	Menu        RequestAccountServiceMsgMenu        `json:"msgmenu,omitempty"`
	Location    RequestAccountServiceMsgLocation    `json:"location,omitempty"`
}

type RequestAccountServiceSendMsgOnEvent

type RequestAccountServiceSendMsgOnEvent struct {
	Code    string                       `json:"code"`
	MsgID   string                       `json:"msgid"`
	MsgType string                       `json:"msgtype"`
	Text    RequestAccountServiceMsgText `json:"text,omitempty"`
	Menu    RequestAccountServiceMsgMenu `json:"msgmenu,omitempty"`
}

Jump to

Keyboard shortcuts

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