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

Method SendGroupSign

client/operation.go:1414–1424  ·  view source on GitHub ↗

SendGroupSign 发送群聊打卡消息

(groupUin uint32)

Source from the content-addressed store, hash-verified

1412
1413// SendGroupSign 发送群聊打卡消息
1414func (c *QQClient) SendGroupSign(groupUin uint32) (*oidb2.BotGroupClockInResult, error) {
1415 pkt, err := oidb2.BuildGroupSignPacket(c.Uin, groupUin, c.Version().CurrentVersion)
1416 if err != nil {
1417 return nil, err
1418 }
1419 resp, err := c.sendOidbPacketAndWait(pkt)
1420 if err != nil {
1421 return nil, err
1422 }
1423 return oidb2.ParseGroupSignResp(resp)
1424}
1425
1426// GetUnidirectionalFriendList 获取单向好友列表
1427// ref https://github.com/Mrs4s/MiraiGo/blob/54bdd873e3fed9fe1c944918924674dacec5ac76/client/web.go#L23

Callers

nothing calls this directly

Calls 2

VersionMethod · 0.95
sendOidbPacketAndWaitMethod · 0.95

Tested by

no test coverage detected