mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-12 16:00:27 +00:00
修改群公告的参数名 feed_id 为 notice_id
This commit is contained in:
@@ -225,9 +225,9 @@ export class NTQQGroupApi {
|
||||
async kickMemberV2Inner(param: KickMemberV2Req) {
|
||||
return this.context.session.getGroupService().kickMemberV2(param);
|
||||
}
|
||||
async deleteGroupBulletin(GroupCode: string, feedId: string) {
|
||||
async deleteGroupBulletin(GroupCode: string, noticeId: string) {
|
||||
const _Pskey = (await this.core.apis.UserApi.getPSkey(['qun.qq.com'])).domainPskeyMap.get('qun.qq.com')!;
|
||||
return this.context.session.getGroupService().deleteGroupBulletin(GroupCode, _Pskey, feedId);
|
||||
return this.context.session.getGroupService().deleteGroupBulletin(GroupCode, _Pskey, noticeId);
|
||||
}
|
||||
async quitGroupV2(GroupCode: string, needDeleteLocalMsg: boolean) {
|
||||
const param = {
|
||||
|
||||
@@ -57,7 +57,7 @@ export interface WebApiGroupMemberRet {
|
||||
|
||||
export interface WebApiGroupNoticeFeed {
|
||||
u: number;//发送者
|
||||
fid: string;//fid
|
||||
fid: string;//fid,notice_id
|
||||
pubt: number;//时间
|
||||
msg: {
|
||||
text: string
|
||||
|
||||
@@ -209,7 +209,7 @@ export interface NodeIKernelGroupService {
|
||||
|
||||
getGroupBulletin(groupCode: string): unknown;
|
||||
|
||||
deleteGroupBulletin(groupCode: string, seq: string, feedId: string): void;
|
||||
deleteGroupBulletin(groupCode: string, seq: string, noticeId: string): void;
|
||||
|
||||
publishGroupBulletin(groupCode: string, pskey: string, data: any): Promise<GeneralCallResult>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user