Documentation ¶
Index ¶
Constants ¶
View Source
const ( MsgTypeText = "text" MsgTypePost = "post" MsgTypeSticker = "sticker" MsgTypeLocation = "location" MsgTypeLive = "live" MsgTypeContact = "contact" MsgTypeButtongroup = "buttongroup" MsgTypeAppCard = "appcard" )
View Source
const ( SuccessCode = 0 CodeMsgExisted = 101002 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCard ¶
type ButtongGroup ¶
type ButtongGroup struct { Buttons []*MsgButton `json:"buttons"` MessageID string `json:"message_id,omitempty"` }
func (ButtongGroup) Body ¶
func (t ButtongGroup) Body() interface{}
func (ButtongGroup) Type ¶
func (t ButtongGroup) Type() string
type Contact ¶
type Err ¶ added in v1.0.10
func NewErrWithBytes ¶ added in v1.0.10
type Live ¶
type Location ¶
type MixinMsgWrapper ¶
type MixinMsgWrapper struct { Type string `json:"type"` Body interface{} `json:"body"` }
type OkResponse ¶
Click to show internal directories.
Click to hide internal directories.