onGroupRequestRejected( )


Note: This method registers a callback function as an event handler. Subscribe your app to the relevant event via the Webhooks page in the Wix Dev Center to enable it. For more information, see Handle Events With Webhooks.

Triggered when a group request is rejected.

Permissions
Manage Social Groups
Learn more about app permissions.
Method Declaration
Copy
function onGroupRequestRejected(handler: function): void;
Method Parameters
handlerfunction

handler(event: GroupRequestRejectedEnvelope): void | Promise<void>

JavaScript
import { groupRequests } from "@wix/groups"; groupRequests.onGroupRequestRejected((event) => { // handle your event here });
Did this help?