GetCachedAllGroupsInfo 获取所有群信息(缓存)
()
| 97 | |
| 98 | // GetCachedAllGroupsInfo 获取所有群信息(缓存) |
| 99 | func (c *QQClient) GetCachedAllGroupsInfo() map[uint32]*entity.Group { |
| 100 | if c.cache.GroupInfoCacheIsEmpty() { |
| 101 | if err := c.RefreshAllGroupsInfo(); err != nil { |
| 102 | return nil |
| 103 | } |
| 104 | } |
| 105 | return c.cache.GetAllGroupsInfo() |
| 106 | } |
| 107 | |
| 108 | // GetCachedMemberInfo 获取群成员信息(缓存) |
| 109 | func (c *QQClient) GetCachedMemberInfo(uin, groupUin uint32) *entity.GroupMember { |
nothing calls this directly
no test coverage detected