RefreshAllGroupsInfo 刷新所有群信息缓存
()
| 224 | |
| 225 | // RefreshAllGroupsInfo 刷新所有群信息缓存 |
| 226 | func (c *QQClient) RefreshAllGroupsInfo() error { |
| 227 | groupsData, err := c.GetAllGroupsInfo() |
| 228 | if err != nil { |
| 229 | return err |
| 230 | } |
| 231 | c.cache.RefreshAllGroup(groupsData) |
| 232 | return nil |
| 233 | } |
| 234 | |
| 235 | // RefreshAllRkeyInfoCache 刷新RKey缓存 |
| 236 | func (c *QQClient) RefreshAllRkeyInfoCache() error { |
no test coverage detected