feat: @全体的时候判断剩余次数

This commit is contained in:
linyuchen
2024-04-06 23:57:07 +08:00
parent 240cdade07
commit 441c0c6946
5 changed files with 28 additions and 6 deletions

View File

@@ -186,6 +186,17 @@ export class NTQQGroupApi{
})
}
static async getGroupAtAllRemainCount(groupCode: string){
return await callNTQQApi<GeneralCallResult & {"atInfo":{"canAtAll": boolean,"RemainAtAllCountForUin": number,"RemainAtAllCountForGroup": number,"atTimesMsg": string,"canNotAtAllMsg":""}}>({
methodName: NTQQApiMethod.GROUP_AT_ALL_REMAIN_COUNT,
args: [
{
groupCode
}, null
]
})
}
// 头衔不可用
static async setGroupTitle(groupQQ: string, uid: string, title: string) {
return await callNTQQApi<GeneralCallResult>({