feat: SetGroupSign

This commit is contained in:
手瓜一十雪 committed 2024-10-24 13:38:22 +08:00
1 parent 8fe37d1c1e
commit dbe72fa07e
6 files changed
+56 -1

No files matched your search

+4 -1
View File
@@ -86,7 +86,10 @@ export class NTQQPacketApi {
const retData = new NapProtoMsg(OidbSvcTrpcTcp0X9067_202_Rsp_Body).decode(body);
return retData.data.rkeyList;
}
async sendGroupSignPacket(groupCode: string) {
const packet = this.packetSession?.packer.packGroupSignReq(this.core.selfInfo.uin, groupCode);
await this.sendPacket('OidbSvcTrpcTcp.0xeb7', packet!, true);
}
async sendStatusPacket(uin: number): Promise<{ status: number; ext_status: number; } | undefined> {
let status = 0;
try {