feat: add friend_poke OneBot11 API

This commit is contained in:
pk5ls20
2024-10-20 23:09:38 +08:00
parent 0ce729c108
commit a7b6e96398
6 changed files with 30 additions and 5 deletions

View File

@@ -73,8 +73,8 @@ export class NTQQPacketApi {
return this.packetSession!.client.sendPacket(cmd, data, rsp);
}
async sendPokePacket(group: number, peer: number) {
const data = this.packetSession?.packer.packPokePacket(group, peer);
async sendPokePacket(peer: number, group?: number) {
const data = this.packetSession?.packer.packPokePacket(peer, group);
await this.sendPacket('OidbSvcTrpcTcp.0xed3_1', data!, false);
}