SendGroupSign 发送群聊打卡消息
(groupUin uint32)
| 1412 | |
| 1413 | // SendGroupSign 发送群聊打卡消息 |
| 1414 | func (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 |
nothing calls this directly
no test coverage detected