feat: cc poke

This commit is contained in:
linyuchen
2024-03-17 15:33:56 +08:00
parent 60e0c9e4ba
commit 1e144a1377
16 changed files with 119 additions and 31 deletions

View File

@@ -15,7 +15,9 @@ export interface Peer {
export class NTQQMsgApi {
static async activateGroupChat(groupCode: string) {
return await callNTQQApi({
// await this.fetchRecentContact();
// await sleep(500);
return await callNTQQApi<GeneralCallResult>({
methodName: NTQQApiMethod.ADD_ACTIVE_CHAT,
args: [{peer:{peerUid: groupCode, chatType: ChatType.group}, cnt: 20}]
})