Documentation
¶
Index ¶
- func GetSexLabel(sex int64) string
- func IsGroupChat(usrName string) bool
- func MessageTypeLabel(t int) string
- func MsgTableName(usrName string, newFormat bool) string
- func SplitMsgType(t int) (baseType int, subType int)
- type Contact
- type GroupContact
- type Message
- type Store
- func (s *Store) Close()
- func (s *Store) FindMessageDB(usrName string) (string, string, error)
- func (s *Store) ListChatTables() (map[string]string, error)
- func (s *Store) ListContacts() ([]Contact, error)
- func (s *Store) ListGroups() ([]GroupContact, error)
- func (s *Store) ReadMessages(usrName string, afterID int64, limit int) ([]Message, error)
- func (s *Store) ReadMessagesDesc(usrName string, limit int) ([]Message, error)
- func (s *Store) SearchContacts(keyword string) ([]Contact, error)
- func (s *Store) SearchGroups(keyword string) ([]GroupContact, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSexLabel ¶
func IsGroupChat ¶
func MessageTypeLabel ¶
func MsgTableName ¶
func SplitMsgType ¶
Types ¶
type GroupContact ¶
type GroupContact struct {
UsrName, Nickname, HeadImgUrl, MemList, AdminList string
}
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store provides access to WeChat's encrypted SQLite databases.
func NewStoreWithKeys ¶
func (*Store) ListContacts ¶
func (*Store) ListGroups ¶
func (s *Store) ListGroups() ([]GroupContact, error)
func (*Store) ReadMessages ¶
func (*Store) ReadMessagesDesc ¶
func (*Store) SearchGroups ¶
func (s *Store) SearchGroups(keyword string) ([]GroupContact, error)
Click to show internal directories.
Click to hide internal directories.