Documentation
¶
Index ¶
Constants ¶
View Source
const (
MSG_VERSION = 1
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
Module string `json:"module"`
// 协议版本号
Version int `json:"varsion"`
// 消息唯一id
UUID int
// 消息来源用户id
UID string
// 消息类型 GROUP PRIVATE SYSTEM
Type string `json:"type"`
// 目标id : ueser_id || group_id
Target string `json:"target"`
// 消息发送时间
Time int `json:"time"`
Content MessageContent
}
消息结构
Click to show internal directories.
Click to hide internal directories.