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

Method onGroupMessageReceipt

client/event.go:51–57  ·  view source on GitHub ↗
(id string, f ...func(*QQClient, *groupMessageReceiptEvent))

Source from the content-addressed store, hash-verified

49}
50
51func (c *QQClient) onGroupMessageReceipt(id string, f ...func(*QQClient, *groupMessageReceiptEvent)) {
52 if len(f) == 0 {
53 c.eventHandlers.groupMessageReceiptHandlers.Delete(id)
54 return
55 }
56 c.eventHandlers.groupMessageReceiptHandlers.LoadOrStore(id, f[0])
57}

Callers 1

connectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected