deleteGroupInviteBox
api.deleteGroupInviteBox(groupId[, blockFutureInvite])
Parameters
- groupId
string|string[] - blockFutureInvite
boolean?- chặn lời mời từ nhóm trong tương lai, mặc định
false
- chặn lời mời từ nhóm trong tương lai, mặc định
Return
Promise<DeleteGroupInviteBoxResponse>
Types
ts
export type DeleteGroupInviteBoxResponse = {
delInvitaionIds: string[];
errMap: {
[groupId: string]: {
err: number;
};
};
};Examples
ts
const groupId = "00000000000000";
api
.deleteGroupInviteBox(groupId, true)
.then(console.log).catch(console.error);