Documentation ¶
Index ¶
Constants ¶
View Source
const ( Sqlite3GroupMessageTableName = "grpmsg" Sqlite3MessageAttributeTableName = "msgattr" Sqlite3GuildMessageAttributeTableName = "gmsgattr" Sqlite3QuotedInfoTableName = "quoinf" Sqlite3PrivateMessageTableName = "privmsg" Sqlite3GuildChannelMessageTableName = "guildmsg" Sqlite3UinInfoTableName = "uininf" Sqlite3TinyInfoTableName = "tinyinf" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuotedInfo ¶
type QuotedInfo struct { ID int64 // ID is the crc64 of 字段s below PrevID string PrevGlobalID int32 QuotedContent string // QuotedContent is json of original content }
QuotedInfo 引用回复
type StoredGroupMessage ¶
type StoredGroupMessage struct { GlobalID int32 ID string AttributeID int64 SubType string QuotedInfoID int64 GroupCode int64 AnonymousID string Content string // Content is json of original content }
StoredGroupMessage 持久化群消息
type StoredGuildChannelMessage ¶
type StoredGuildChannelMessage struct { ID string AttributeID int64 GuildID int64 ChannelID int64 QuotedInfoID int64 Content string // Content is json of original content }
StoredGuildChannelMessage 持久化频道消息
type StoredGuildMessageAttribute ¶
type StoredGuildMessageAttribute struct { ID int64 // ID is the crc64 of 字段s below MessageSeq int64 InternalID int64 SenderTinyID int64 // SenderTinyID is fk to TinyInfo Timestamp int64 }
StoredGuildMessageAttribute 持久化频道消息属性
type StoredMessageAttribute ¶
type StoredMessageAttribute struct { ID int64 // ID is the crc64 of 字段s below MessageSeq int32 InternalID int32 SenderUin int64 // SenderUin is fk to UinInfo Timestamp int64 }
StoredMessageAttribute 持久化消息属性
Click to show internal directories.
Click to hide internal directories.