1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-10 15:52:26 +08:00

feature: 小程序增加客服消息 (#319)

* add miniprogram customer_message

* fix golint comment

* rm unnecessary unmarshal in Send

Co-authored-by: huangxiang <huangxiang@didichuxing.com>
This commit is contained in:
huangx
2020-08-27 13:46:36 +08:00
committed by GitHub
parent 4c35924b8c
commit 2e191c0a44
3 changed files with 151 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
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"
)