deleteGroupInviteBox

Từ chối lời mời tham gia nhóm/cộng đồng

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

Return

Promise<DeleteGroupInviteBoxResponse>

Types

export type DeleteGroupInviteBoxResponse = {
    delInvitaionIds: string[];
    errMap: {
        [groupId: string]: {
            err: number;
        };
    };
};

Examples

const groupId = "00000000000000";

api
    .deleteGroupInviteBox(groupId, true)
    .then(console.log).catch(console.error);

Last updated