Versions in this module Expand all Collapse all v0 v0.1.2 Nov 10, 2022 v0.1.1 Nov 10, 2022 v0.1.0 Nov 10, 2022 v0.0.2 Nov 10, 2022 Changes in this version + const Sqlite3GroupMessageTableName + const Sqlite3GuildChannelMessageTableName + const Sqlite3GuildMessageAttributeTableName + const Sqlite3MessageAttributeTableName + const Sqlite3PrivateMessageTableName + const Sqlite3QuotedInfoTableName + const Sqlite3TinyInfoTableName + const Sqlite3UinInfoTableName + type Database struct + func Open(dbpath string) (s *Database, err error) + func (s *Database) Close() error + func (s *Database) InsertGroupMessage(msg *db.StoredGroupMessage) error + func (s *Database) InsertGuildChannelMessage(msg *db.StoredGuildChannelMessage) error + func (s *Database) InsertPrivateMessage(msg *db.StoredPrivateMessage) error + type QuotedInfo struct + ID int64 + PrevGlobalID int32 + PrevID string + QuotedContent string + type StoredGroupMessage struct + AnonymousID string + AttributeID int64 + Content string + GlobalID int32 + GroupCode int64 + ID string + QuotedInfoID int64 + SubType string + type StoredGuildChannelMessage struct + AttributeID int64 + ChannelID int64 + Content string + GuildID int64 + ID string + QuotedInfoID int64 + type StoredGuildMessageAttribute struct + ID int64 + InternalID int64 + MessageSeq int64 + SenderTinyID int64 + Timestamp int64 + type StoredMessageAttribute struct + ID int64 + InternalID int32 + MessageSeq int32 + SenderUin int64 + Timestamp int64 + type StoredPrivateMessage struct + AttributeID int64 + Content string + GlobalID int32 + ID string + QuotedInfoID int64 + SessionUin int64 + SubType string + TargetUin int64 + type TinyInfo struct + ID int64 + Name string + type UinInfo struct + Name string + Uin int64