Approve all membership requests composer

This commit is contained in:
Snaiker 2022-12-30 12:20:06 +00:00
parent 614237a110
commit 12d4a2edbd
4 changed files with 26 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -446,4 +446,5 @@ export class OutgoingHeader
public static WELCOME_GIFT_CHANGE_EMAIL = 66; public static WELCOME_GIFT_CHANGE_EMAIL = 66;
public static EMAIL_GET_STATUS = 2557; public static EMAIL_GET_STATUS = 2557;
public static EMAIL_CHANGE = 3965; public static EMAIL_CHANGE = 3965;
public static APPROVE_ALL_MEMBERSHIP_REQUESTS = 882;
} }

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../api';
export class ApproveAllMembershipRequestsMessageComposer implements IMessageComposer<ConstructorParameters<typeof ApproveAllMembershipRequestsMessageComposer>>
{
private _data: ConstructorParameters<typeof ApproveAllMembershipRequestsMessageComposer>;
constructor(groupId: number)
{
this._data = [groupId];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -1,3 +1,4 @@
export * from './ApproveAllMembershipRequestsMessageComposer';
export * from './GroupAdminGiveComposer'; export * from './GroupAdminGiveComposer';
export * from './GroupAdminTakeComposer'; export * from './GroupAdminTakeComposer';
export * from './GroupBadgePartsComposer'; export * from './GroupBadgePartsComposer';