mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-04 12:52:27 +08:00
* add miniprogram customer_message * fix golint comment * rm unnecessary unmarshal in Send Co-authored-by: huangxiang <huangxiang@didichuxing.com>
22 lines
442 B
Go
22 lines
442 B
Go
package message
|
|
|
|
// MsgType 基本消息类型
|
|
type MsgType string
|
|
|
|
// EventType 事件类型
|
|
type EventType string
|
|
|
|
// InfoType 第三方平台授权事件类型
|
|
type InfoType string
|
|
|
|
const (
|
|
//MsgTypeText 文本消息
|
|
MsgTypeText MsgType = "text"
|
|
//MsgTypeImage 图片消息
|
|
MsgTypeImage = "image"
|
|
//MsgTypeLink 图文链接
|
|
MsgTypeLink = "link"
|
|
//MsgTypeMiniProgramPage 小程序卡片
|
|
MsgTypeMiniProgramPage = "miniprogrampage"
|
|
)
|