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:
huangxandhuangxiang authored and GitHub committed 2020-08-27 13:46:36 +08:00
1 parent 4c35924b8c
commit 2e191c0a44
3 files changed
+151

No files matched your search

+21
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"
)