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

Method GetGroupInfo

client/internal/cache/cache.go:65–68  ·  view source on GitHub ↗

GetGroupInfo 获取群信息

(groupUin uint32)

Source from the content-addressed store, hash-verified

63
64// GetGroupInfo 获取群信息
65func (c *Cache) GetGroupInfo(groupUin uint32) *entity.Group {
66 v, _ := getCacheOf[entity.Group](c, groupUin)
67 return v
68}
69
70// GetAllGroupsInfo 获取所有群信息
71func (c *Cache) GetAllGroupsInfo() map[uint32]*entity.Group {

Callers 1

GetCachedGroupInfoMethod · 0.80

Calls 1

getCacheOfFunction · 0.85

Tested by

no test coverage detected