This commit is contained in:
手瓜一十雪
2024-10-12 15:27:58 +08:00
parent 5172cab161
commit a8fb66abdb
4 changed files with 23 additions and 8 deletions

View File

@@ -56,8 +56,8 @@ export class NTQQGroupApi {
async sendPacketPoke(group: string, peer: string) {
let data = encodeGroupPoke(group, peer);
let hex = Buffer.from(data).toString('hex');
let retdata = await this.core.apis.PacketApi.sendPacket('OidbSvcTrpcTcp.0xed3_1', hex, true);
console.log('sendPacketPoke', retdata);
let retdata = await this.core.apis.PacketApi.sendPacket('OidbSvcTrpcTcp.0xed3_1', hex, false);
//console.log('sendPacketPoke', retdata);
}
async fetchGroupEssenceList(groupCode: string) {
const pskey = (await this.core.apis.UserApi.getPSkey(['qun.qq.com'])).domainPskeyMap.get('qun.qq.com')!;