Documentation ¶
Index ¶
Constants ¶
View Source
const ( NULL = Type("") FriendMessage = Type("FriendMessage") GroupMessage = Type("GroupMessage") SendMessageResponse = Type("SendMessageResponse") )
Variables ¶
View Source
var (
NotEnoughFieldsError = errors.New("insufficient field")
)
Functions ¶
This section is empty.
Types ¶
type Base ¶
func GetFriendMessageRecord ¶
func GetFriendMessageRecord() Base
func GetGroupMessageRecord ¶
func GetGroupMessageRecord() Base
func GetSendMessageResponse ¶
func GetSendMessageResponse() Base
type BaseDataImp ¶
type BaseDataImp struct { Type Type `json:"type,omitempty"` MessageChain message.Chain `json:"messageChain,omitempty"` }
func (*BaseDataImp) UnmarshalJSON ¶
func (b *BaseDataImp) UnmarshalJSON(data []byte) error
type BaseImp ¶
type FriendMessageData ¶
type FriendMessageData struct { BaseDataImp // contains filtered or unexported fields }
func (*FriendMessageData) UnmarshalJSON ¶
func (f *FriendMessageData) UnmarshalJSON(data []byte) error
type GroupMessageData ¶
type GroupMessageData struct { BaseDataImp // contains filtered or unexported fields }
func (*GroupMessageData) UnmarshalJSON ¶
func (g *GroupMessageData) UnmarshalJSON(data []byte) error
type SendMessageResponseData ¶
Click to show internal directories.
Click to hide internal directories.