This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
function onJoinGroupRequestCreated(handler: function): void;
handler(event: JoinGroupRequestCreatedEnvelope): void | Promise<void>
import { joinGroupRequests } from "@wix/groups";
joinGroupRequests.onJoinGroupRequestCreated((event) => {
// handle your event here
});