MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / RefreshAllGroupMembersCache

Method RefreshAllGroupMembersCache

client/cache.go:216–223  ·  view source on GitHub ↗

RefreshAllGroupMembersCache 刷新所有群的群成员缓存

()

Source from the content-addressed store, hash-verified

214
215// RefreshAllGroupMembersCache 刷新所有群的群成员缓存
216func (c *QQClient) RefreshAllGroupMembersCache() error {
217 groupsData, err := c.GetAllGroupsMembersData()
218 if err != nil {
219 return err
220 }
221 c.cache.RefreshAllGroupMembers(groupsData)
222 return nil
223}
224
225// RefreshAllGroupsInfo 刷新所有群信息缓存
226func (c *QQClient) RefreshAllGroupsInfo() error {

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected