feat: add friend_poke OneBot11 API

This commit is contained in:
pk5ls20 committed 2024-10-20 23:09:38 +08:00
1 parent b0eae307c2
commit 09a60a2204
6 files changed
+30 -5

No files matched your search

+2 -2
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);
}