Documentation ¶
Index ¶
- type RequestAccountServiceMsgFile
- type RequestAccountServiceMsgImage
- type RequestAccountServiceMsgLink
- type RequestAccountServiceMsgLocation
- type RequestAccountServiceMsgMenu
- type RequestAccountServiceMsgMenuList
- type RequestAccountServiceMsgMenuListClick
- type RequestAccountServiceMsgMenuListMiniProgram
- type RequestAccountServiceMsgMenuListView
- type RequestAccountServiceMsgMiniProgram
- type RequestAccountServiceMsgText
- type RequestAccountServiceMsgVoice
- type RequestAccountServiceSendMsg
- type RequestAccountServiceSendMsgOnEvent
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 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 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"` }
Click to show internal directories.
Click to hide internal directories.